dce_db_lock(3dce)Applies an advisory lock on a backing store Synopsis
#include <dce/dce.h> void dce_db_lock( dce_db_handle_t handle, error_status_t *status); Parameters Input
handle Output
status
Description There is an advisory lock associated with each handle. The routines for storing and deleting backing stores apply the lock before updating a backing store. This routine provides a means to apply the lock for other purposes, such as iteration. Advisory locks allow cooperating threads to perform consistent operations on backing stores, but do not guarantee consistency; that is, threads may still access backing stores without using advisory locks, possibly resulting in inconsistencies. Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
db_s_already_locked
error_status_ok
Related Information
|