发明名称 Reserving space in a mail queue
摘要 A mail handler is provided. The mail handler manages a source queue for incoming messages. The source queue has a first count of slots in memory and is associated with a source read pointer and a source write pointer. The mail handler manages the source write pointer and the source read pointer. The mail handler also manages a destination queue for outgoing messages. The destination queue has a second count of slots in memory and is associated with a destination read pointer and a destination write pointer. The mail handler advances the destination write pointer in response to at least one of (i) transferring one or more messages form the source queue to the destination queue and (ii) reserving one or more slots in the destination queue. The at least one processor advances the destination read pointer in response to reading at least one message from the destination queue.
申请公布号 US9547539(B1) 申请公布日期 2017.01.17
申请号 US201514849881 申请日期 2015.09.10
申请人 International Business Machines Corporation 发明人 Wong Kelvin
分类号 G06F9/54 主分类号 G06F9/54
代理机构 代理人 Wells Bryan D.
主权项 1. A method comprising: a mail handler managing a source queue for incoming messages from one or more agents, the source queue divided into a first count of slots and being associated with a source read pointer and a source write pointer, and wherein: the mail handler advances the source write pointer in response to at least one of: (i) determining that at least one of the one or more agents has posted at least one message to the source queue and (ii) reading one or more messages from the source queue wherein each slot in the source queue represents an address in a memory; and the mail handler managing a destination queue for outgoing messages to at least one computer processor, the destination queue divided into a second count of slots and being associated with a destination read pointer and a destination write pointer, and wherein: the mail handler advances the destination write pointer in response to at least one of: (i) transferring one or more messages from the source queue to the destination queue and (ii) instructions to reserve one or more slots in the destination queue wherein each slot in the destination queue represents an address in the memory; andthe at least one computer processor advances the destination read pointer in response to reading at least one message from the destination queue.
地址 Armonk NY US