GoLang pht\Threaded::lock

request it (284)
GoLang replacement for PHP's pht\Threaded::lock [edit | history]

Do you know a GoLang replacement for PHP's pht\Threaded::lock? Write it!

PHP pht\Threaded::lock

PHP original manual for pht\Threaded::lock [ show | php.net ]


(PECL pht >= 0.0.1)

pht\Threaded::lockAcquires the mutex lock


public void pht\Threaded::lock ( void )

This method will acquire the mutex lock associated with the given class (either a pht\HashTable, pht\Queue, pht\Vector, or pht\AtomicInteger).


This function has no parameters.

Return Values

No return value.