next up previous contents index
Next: 4.12.1 allocate_lock: Allocate a Up: 4 The Component Object Previous: 4.11.3 broadcast: Broadcast a

4.12 oskit_lock_mgr: Lock manager: Interface for creating locks and condition variables

   

The lock manager is registered in the services registry (See Section 4.9) when the threading system (if it is included) is initialized. Components that need to protect data structures can query the services registry for the lock manager. Since the lock manager will only be registered by the threading system, the client can assume that the absence of a lock manager implies a single threaded system (locks are unnecessary). The oskit_lock_mgr COM interface inherits from oskit_iunknown, and has the following additional methods:

allocate_lock
Allocate a lock object.
allocate_critical_lock
Allocate a critical lock object.





University of Utah Flux Research Group