首页> 外国专利> System and method for shared memory based IPC queue template having event based notification

System and method for shared memory based IPC queue template having event based notification

机译:具有基于事件的通知的基于共享存储器的ipc队列模板的系统和方法

摘要

This invention is directed to a system and method for using a template that allows a user to define a specific message format for use in a shared memory queue in the inter-process communication environment. A shared segment of the size needed to hold the supplied number of elements and a queue header are created. The system then unmaps the queue from the user's address space. The queue contents are reset to initialize the state. The supplied element in the queue is Pushed. The element for the queue First-In/First-Out (FIFO) is Popped. An element from the queue may be returned, without affecting queue status. The element content in the queue is then updated. The queue is subsequently locked for exclusive access. The lock may be released, enabling changes to the queue. The system also provides the element count in the queue and the logical name of the inter-process communication queue. The shared memory based header maintained by each inter-process communication queue allows all the clients of the queue to access queue information from a single source.
机译:本发明针对使用模板的系统和方法,该模板允许用户定义特定的消息格式以在进程间通信环境中的共享存储器队列中使用。将创建一个共享的段,该段的大小可容纳提供的元素数和一个队列头。然后,系统从用户的地址空间取消映射队列。队列内容被重置以初始化状态。队列中提供的元素已推送。弹出队列先进先出(FIFO)的元素。可以返回队列中的元素,而不会影响队列状态。然后更新队列中的元素内容。队列随后被锁定以进行独占访问。可以释放锁,从而启用对队列的更改。系统还提供队列中的元素计数和进程间通信队列的逻辑名称。每个进程间通信队列维护的基于共享内存的标头允许队列的所有客户端从单个源访问队列信息。

著录项

  • 公开/公告号US2005044551A1

    专利类型

  • 公开/公告日2005-02-24

    原文格式PDF

  • 申请/专利权人 AJIT S. SODHI;

    申请/专利号US20040921530

  • 发明设计人 AJIT S. SODHI;

    申请日2004-08-19

  • 分类号G06F9/46;

  • 国家 US

  • 入库时间 2022-08-21 22:22:09

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号