DBPLUS_GETLOCK(3) 1 DBPLUS_GETLOCK(3)
dbplus_getlock - Get a write lock on a tuple
SYNOPSIS
int dbplus_getlock (resource $relation, string $tuple)
DESCRIPTION
Requests a write lock on the specified $tuple.
PARAMETERS
o $relation
- A relation opened by dbplus_open(3).
o $tuple
-
RETURN VALUES
Returns zero on success or a non-zero error code, especially DBPLUS_ERR_WLOCKED on failure.
NOTES
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in
a future release of PHP. This function should be used at your own risk.
SEE ALSO
dbplus_freelock(3), dbplus_freerlocks(3), dbplus_freealllocks(3).
PHP Documentation Group DBPLUS_GETLOCK(3)