首页> 外国专利> Method for multiprocessor system of controlling a dynamically expandable shared queue in which ownership of a queue entry by a processor is indicated by a semaphore

Method for multiprocessor system of controlling a dynamically expandable shared queue in which ownership of a queue entry by a processor is indicated by a semaphore

机译:用于控制动态可扩展共享队列的多处理器系统的方法,其中信号量指示处理器对队列条目的所有权

摘要

In a multiprocessor data processing system including at least one main processor and one sub-processor utilizing a shared queue, queue integrity is maintained by associating a semaphore with each queue entry to indicate ownership of that queue entry. Ownership of a queue entry is checked by a processor attempting to post to the queue entry. Upon determining that the queue entry is available to the processor, the queue entry is loaded by an atomic write operation, ownership of the queue entry transferred to another processor, and the other processor may be alerted of the post to the queue. The other processor maintains ownership of the queue entry until the other processor has read and saved the data from the queue entry. Items may thus be posted to the queue and cleared from the queue by a processor independent of the state of the other processor. No locking mechanism or atomic read-modify-write capability is required to enforce mutual exclusion between the main processor and the sub-processor to maintain queue integrity.
机译:在包括使用共享队列的至少一个主处理器和一个子处理器的多处理器数据处理系统中,通过将信号量与每个队列条目相关联以指示该队列条目的所有权来维护队列完整性。尝试登录到队列条目的处理器会检查队列条目的所有权。在确定该队列条目可用于处理器时,通过原子写操作加载该队列条目,将该队列条目的所有权转移给另一个处理器,并且可以向该另一个处理器警告该队列中的发布。另一个处理器保持队列条目的所有权,直到另一个处理器从队列条目读取并保存数据为止。因此,项目可以由处理器独立于另一个处理器的状态发布到队列中并从队列中清除。在主处理器和子处理器之间强制执行互斥以维护队列完整性时,不需要锁定机制或原子的读取-修改-写入功能。

著录项

  • 公开/公告号US5922057A

    专利类型

  • 公开/公告日1999-07-13

    原文格式PDF

  • 申请/专利权人 LSI LOGIC CORPORATION;

    申请/专利号US19970781336

  • 发明设计人 KEITH W. HOLT;

    申请日1997-01-10

  • 分类号G06F13/00;

  • 国家 US

  • 入库时间 2022-08-22 02:07:50

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号