发明名称 Method of memory management in a multi-threaded environment and program storage device
摘要 A method for managing a memory pool containing memory blocks between a producer thread and a consumer thread running in parallel within a process is disclosed. The method places free memory blocks in a first group in the memory pool and allocates on demand a memory block from the first group to the producer thread. The allocated memory block is shared between the producer thread and the consumer thread. Once the allocated memory block is no longer required, the consumer thread deallocates the allocated memory block by placing the deallocated memory block in a second group of the memory pool. Deallocated memory blocks in the second group are moved to a third group only when the third group is empty. Memory blocks in the third group are moved to the first group only when the third group is non-empty. A locking mechanism is not required in such a multi-threaded environment.
申请公布号 US2002199069(A1) 申请公布日期 2002.12.26
申请号 US20010876668 申请日期 2001.06.07
申请人 JOSEPH ANISH PULIKOTTIL 发明人 JOSEPH ANISH PULIKOTTIL
分类号 G06F9/50;G06F12/02;(IPC1-7):G06F13/00 主分类号 G06F9/50
代理机构 代理人
主权项
地址