Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Member Functions
IlsSafeLock Class Reference

API FOR ADVANCED USERS – This class lets you manipulate global locks within a transaction. More...

#include <ilserver/transact.h>

Public Member Functions

IlsSafeMutexLockResult lock ()
 Performs a lock. It returns false if the operation fails.
 
IlsSafeMutexLockResult trylock ()
 Tries to perform a lock. It returns false if the lock cannot be taken.
 
IlsSafeMutexUnlockResult unlock ()
 Releases a lock. It returns false if the operation fails.
 

Detailed Description

API FOR ADVANCED USERS – This class lets you manipulate global locks within a transaction.

Library: server
and mvcomp

Global locks are automatically released when the transaction is over. Using this class, you can perform several locks in a row.

See also
IlsLock, IlsTransaction.