首页>
外国专利>
Techniques for executing normally interruptible threads in a non-preemptive manner
Techniques for executing normally interruptible threads in a non-preemptive manner
展开▼
机译:以非抢占方式执行通常可中断的线程的技术
展开▼
页面导航
摘要
著录项
相似文献
摘要
A technique for executing normally interruptible threads of a process in a non-preemptive manner includes in response to a first entry associated with a first message for a first thread reaching a head of a run queue, receiving, by the first thread, a first wake-up signal. In response to receiving the wake-up signal, the first thread waits for a global lock. In response to the first thread receiving the global lock, the first thread retrieves the first message from an associated message queue and processes the retrieved first message. In response to completing the processing of the first message, the first thread transmits a second wake-up signal to a second thread whose associated entry is next in the run queue. Finally, following the transmitting of the second wake-up signal the first thread releases the global lock.
展开▼