6. The method of claim 5 , wherein restricting access to the data structure comprises: only permitting the process acquiring the lock to access the data structure.
5. The method of claim 1 , further comprising: restricting access to the data structure in response to locking the data structure.