1. In a computer system, multiple pieces of software being executed concurrently, comprising: a shared resource on the computer system which is protected by a mutex to regulate access to the shared resource; multiple threads of execution that are capable of concurrently accessing the shared resource to read or write data; and a condition variable that causes threads wanting to access the shared resource to wait until a data event has occurred without having to use a spinlock to lock the condition variable.