dbplus_getlock
(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)
dbplus_getlock — Get a write lock on a tuple
Opis
int dbplus_getlock
( resource
$relation
, string $tuple
)
Requests a write lock on the specified tuple.
Zwracane wartości
Returns zero on success or a non-zero error code, especially
DBPLUS_ERR_WLOCKED on failure.
Notatki
Ostrzeżenie
Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tej funkcji na własne ryzyko.
Zobacz też:
- dbplus_freelock() - Release write lock on tuple
- dbplus_freerlocks() - Free all tuple locks on given relation
- dbplus_freealllocks() - Free all locks held by this client
There are no user contributed notes for this page.
