next up previous contents index
Next: 4.9.1 oskit_register: Register an Up: 4 The Component Object Previous: 4.8.11 clone: Create a

4.9 Services Registry

 

The services registry allows components to lookup and rendezvous with an arbitrary "service" using the interface ID (IID) of the desired interface. More than one interface supporting a particular IID can be registered. For example, the C library queries the registry for the lock manager (see Section 4.12) so that it can allocate locks to properly protect its internal data structures when running in a multithreaded environment. The services registry supports the following interface functions.

oskit_register
Register an interface in the services registry.
oskit_unregister
Unregister a previously registered interface.
oskit_lookup
Obtain a list of all the registered interfaces with a specified IID.
oskit_lookup_first
Lookup the first interface registered for a specified IID.





University of Utah Flux Research Group