GoLang Swoole\Lock::trylock_read

request it (110)
GoLang replacement for PHP's Swoole\Lock::trylock_read [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Lock::trylock_read? Write it!

PHP Swoole\Lock::trylock_read

PHP original manual for Swoole\Lock::trylock_read [ show | php.net ]

Swoole\Lock::trylock_read

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Lock::trylock_readTry to lock a read-write lock for reading and return straight away even the lock is not available.

Description

public void Swoole\Lock::trylock_read ( void )

Parameters

This function has no parameters.

Return Values