Invention Grant
US07886300B1 Mechanism for implementing thread synchronization in a priority-correct, low-memory safe manner 有权
以优先级正确,低内存安全的方式实现线程同步的机制

Mechanism for implementing thread synchronization in a priority-correct, low-memory safe manner
Abstract:
A mechanism is disclosed for implementing fast locking in a multi-threaded system. This mechanism enables fast locking to be performed even on an operating system platform that does not allow one thread to assign ownership of a lock on a mutex to another thread. In addition, the mechanism performs locking in a manner that ensures priority correctness and is low-memory safe. In one implementation, the priority correctness is achieved by using operating system mutexes to implement locking, and the low-memory safe aspect is achieved by pre-allocating a memory section to each thread. This pre-allocated memory section ensures that a thread will have sufficient memory to obtain a lock, even when a system is in a low-memory state. With this mechanism, it is possible to implement locking in a safe and efficient manner.
Information query
Patent Agency Ranking
0/0