next up previous contents index
Next: 4.12.2 allocate_critical_lock: Allocate a Up: 4.12 oskit_lock_mgr: Lock manager: Previous: 4.12 oskit_lock_mgr: Lock manager:

4.12.1 allocate_lock: Allocate a thread-safe lock

 

SYNOPSIS

#include <oskit/com/lock_mgr.h>

OSKIT_COMDECL oskit_lock_mgr_allocate_lock(oskit_lock_mgr_t *lmgr, [out] oskit_lock_t *out_lock);

DESCRIPTION

This method returns an oskit_lock_t COM interface in out_lock.

PARAMETERS

lmgr
The lock manager COM interface.
out_lock
The oskit_lock COM interface for the new lock.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



University of Utah Flux Research Group