Documentation

Class Phalcon\Sync\Readerwriter

Source on GitHub

Methods

public __construct ([string $name], [boolean $autounlock])

Phalcon\Sync\Readerwriter constructor

public readlock ([unknown $wait])

Read locks a reader-writer object

public readunlock ()

Read unlocks a reader-writer object

public writelock ([unknown $wait])

Write locks a reader-writer object

public writeunlock ()

Write unlocks a reader-writer object