public bool SyncReaderWriter::readlock    ([ int $wait = -1  ] )

SyncReaderWriter::readlockWaits for a read lock

wait

The number of milliseconds to wait for a lock. A value of -1 is infinite.