Beispiel #1
0
        public KEvent(Kernel kernel, string name, KEventAttributes attributes, uint initialValue)
        {
            Kernel       = kernel;
            Name         = name;
            Attributes   = attributes;
            InitialValue = initialValue;
            Value        = initialValue;

            WaitingThreads = new FastLinkedList <KThread>();
        }
Beispiel #2
0
        public KEvent( Kernel kernel, string name, KEventAttributes attributes, uint initialValue )
        {
            Kernel = kernel;
            Name = name;
            Attributes = attributes;
            InitialValue = initialValue;
            Value = initialValue;

            WaitingThreads = new FastLinkedList<KThread>();
        }