(PECL libevent >= 0.0.1)
Prepare an event
bool event_set ( resource $event, mixed $fd, int $events, mixed $callback [, mixed $arg ] )
Prepares the event to be used in event_add(). The event is prepared to call the function specified by the callback on the events specified in parameter events, which is a set of the following flags: EV_TIMEOUT, EV_SIGNAL, EV_READ, EV_WRITE and EV_PERSIST.
If EV_SIGNAL bit is set in parame