Daylight v4.9 Release Date: 1 February 2008 Namedt_mp_lock - lock an object familyGeneric Prototypedt_mp_lock(dt_Handle) => dt_BooleanC Prototype#include "dt_smiles.h"dt_Boolean dt_mp_lock(dt_Handle object) FORTRAN Prototypeinclude 'dt_f_smiles.inc'logical dt_f_mp_lock(object) integer*4 object DescriptionLocks an object family within the toolkit. This function will block indefinitely until the lock for an object becomes available. If a non-blocking function is desired, dt_mp_trylock(3) may be used. The function can be used in a multi-threading program with global access of objects across threads to coordinate object access.Return ValueReturns TRUE when the lock is acquired.Related Topicsdt_ancestor(3) dt_mp_initialize(3) dt_mp_trylock(3) dt_mp_unlock(3) |