Patent ID: 7594068
Filing Date: 2009-09-22
Classification: G06F

Abstract:
1. A method for protecting data from loss or corruption due to simultaneous access to a portion of memory by two different program threads, comprising: executing a memory gating program that tracks running threads and their memory demands; creating and managing an in-use table that includes information about which threads are using which portions of memory, and which threads are waiting to use the same portions of memory; allowing a thread to access a given portion of memory if it is not in use by another thread as indicated by the in-use table; preventing a thread from accessing the given portion of memory if it is in use by another thread as indicated by the in-use table; and accessing the memory in blocks sufficiently small in size so as to reduce the number of conflicts over a given memory block and to reduce the number of threads kept waiting for access to the same memory block.