摘要 |
<p>A system and method for avoiding deadlocks when performing non-atomic operations on data in a shared memory (110) accessed by multiple processors (540) sends messages to implement a split lock. Via the messages, the requesting processor (540) is granted exclusive access to the shared memory (110) so that no other processor (540) may access the same data until after the non-atomic operation has completed. The messages used to avoid the deadlock include a split lock request, a lock message, a grant message, a gone idle message and a release idle message. By using the above messages, the present invention accepts requests from multiple processors (540) for exclusive access to memory (110), orders all of the requests, and awards exclusive access to the first processor (540) to make a request.</p> |