GoLang pht\Threaded::lock

request it (420)
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 ]

pht\Threaded::lock

(PECL pht >= 0.0.1)

pht\Threaded::lockAcquires the mutex lock

Description

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).

Parameters

This function has no parameters.

Return Values

No return value.