Query: syncevent
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SYNCEVENT(3) 1 SYNCEVENT(3) The SyncEvent classINTRODUCTIONA cross-platform, native implementation of named and unnamed event objects. Both automatic and manual event objects are supported. An event object waits, without polling, for the object to be fired/set. One instance waits on the event object while another instance fires/sets the event. Event objects are useful wherever a long-running process would otherwise poll a resource (e.g. checking to see if uploaded data needs to be processed).CLASS SYNOPSISSyncEvent SyncEvent Methods o public SyncEvent::__construct ([string $name], [bool $manual]) o public bool SyncEvent::fire (void ) o public bool SyncEvent::reset (void ) o public bool SyncEvent::wait ([integer $wait]) PHP Documentation Group SYNCEVENT(3)