IlsLock
 
IlsLock
Category 
Class - API FOR ADVANCED USERS
Description 
This class lets you manipulate global locks within a transaction. Global locks are automatically released when the transaction is over.
Inheritance Path 
IlsLock
Libraries 
<server> and <mvcomp>
Header File 
#include <ilserver/transact.h>
Synopsis 
class IlsLock
{
public:
IlsBoolean lock();
IlsBoolean trylock();
IlsBoolean unlock();
};
Member Functions 
IlsBoolean lock();
This member function performs a lock. It returns IlsFalse if the operation fails.
IlsBoolean trylock();
This member function tries to perform a lock. It returns IlsFalse if the lock cannot be taken.
IlsBoolean unlock();
This member function releases a lock. It returns IlsFalse if the operation fails.
See Also 
IlsSafeLock, IlsTransaction

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.