OpenLockManager (open)

Creates a new mutexmanager object

Syntax

LOADLIB "mod::system/lib/services.whlib";

OBJECT FUNCTION OpenLockManager()

Return value

OBJECT
Possible objecttypes:

Lock manager

Examples


OBJECT lockmgr := OpenLockManager();
OBJECT lock := lockmgr->LockMutex("mutex:name");

// mutual exclusive stuff

lock->Close();