PHP » GoLang |
login |
register |
about
|
GoLang SyncSemaphore::__construct
request it (318)
GoLang replacement for PHP's SyncSemaphore::__construct
[edit | history]
PHP SyncSemaphore::__constructPHP original manual for SyncSemaphore::__construct [ show | php.net ]SyncSemaphore::__construct(PECL sync >= 1.0.0) SyncSemaphore::__construct — Constructs a new SyncSemaphore object Description
public SyncSemaphore::__construct
([ string
$name
[, int $initialval = 1
[, bool $autounlock = TRUE
]]] )Constructs a named or unnamed semaphore. Parameters
Return ValuesThe new SyncSemaphore object. An exception is thrown if the semaphore cannot be created or opened. ExamplesExample #1 SyncSemaphore::__construct() example
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|