Beispiel #1
0
        public bool visit(SWLWorkflowPSemaphore <bool> node)
        {
            Semaphore s = dict_semaphore [node.sem_id];

            s.WaitOne();
            return(true);
        }
        public bool visit(SWLWorkflowPSemaphore <bool> node)
        {
            Console.WriteLine("SEMAPHORE P");
            Semaphore s = dict_semaphore [node.sem_id];

            s.WaitOne();
            return(true);
        }