首页> 外国专利> 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.
机译:以非抢占方式执行进程的通常可中断线程的技术包括:响应与与第一消息的第一消息相关联的第一条目,第一消息到达运行队列的头部,由第一线程接收第一唤醒。信号。响应于接收到唤醒信号,第一线程等待全局锁定。响应于第一线程接收到全局锁,第一线程从相关联的消息队列中检索第一消息并处理所检索的第一消息。响应于完成对第一消息的处理,第一线程向第二线程发送第二唤醒信号,该第二线程的关联条目在运行队列中是下一个。最后,在第二唤醒信号的发送之后,第一线程释放全局锁定。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号