OpenLocalLockManager (open)

Creates a new mutexmanager object for process-local locks

Syntax

LOADLIB "wh::ipc.whlib";

OBJECT FUNCTION OpenLocalLockManager()

Return value

OBJECT
Possible objecttypes:

Lock manager

Examples


OBJECT lockmgr := OpenLocalLockManager();
OBJECT lock := lockmgr->LockLocalMutex("mutex:name");

// mutual exclusive stuff

lock->Close();