clear_event_by_fd
Last updated March 2020
Name
clear_event_by_fd — Clear the event related to the file descriptor
Synopsis
#include "scheduler.h"
| Event * **clear_event_by_fd** (
| fd)
; | |
Description
Clear the event related to the file descriptor. This function returns the event because it's a convenience function to both get an event and clear it.
- fd
-
The file descriptor related to the Event that you wish to close.
On success this function returns the Event indicated by the file descriptor.
Warning
Only call this function from the Scheduler
thread.
See Also
Was this page helpful?