Well that's the way to really use 'em.
Functions | |
void | peak_stream_schedule (peak_stream s, peak_task task) |
Schedule a task for a stream. | |
void | peak_stream_unschedule (peak_stream s, peak_task task) |
Unschedule a task for a stream. |
|
Schedule a task for a stream. Schedule a task on which you can be notified. It will call your event callback function when an event is available for this stream.
|
|
Unschedule a task for a stream.
|