TCP event loop declarations. More...
TCP event loop declarations.
Definition in file gnrc_tcp_eventloop.h.
Include dependency graph for gnrc_tcp_eventloop.h:Go to the source code of this file.
| int | _gnrc_tcp_eventloop_init (void) |
| Starts GNRC TCP's main processing thread. More... | |
| void | _gnrc_tcp_eventloop_sched (evtimer_msg_event_t *event, uint32_t offset, uint16_t type, void *context) |
| Schedule event to event loop. More... | |
| void | _gnrc_tcp_eventloop_unsched (evtimer_msg_event_t *event) |
| Unschedule event to event loop. More... | |
| int _gnrc_tcp_eventloop_init | ( | void | ) |
Starts GNRC TCP's main processing thread.
| PID | of processing thread on success |
| -EEXIST | if processing thread was already started |
| see | thread_create() for more error cases. |
| void _gnrc_tcp_eventloop_sched | ( | evtimer_msg_event_t * | event, |
| uint32_t | offset, | ||
| uint16_t | type, | ||
| void * | context | ||
| ) |
Schedule event to event loop.
| [in] | event | The event to schedule |
| [in] | offset | Offset in milliseconds when the event should be handled in the event loop |
| [in] | type | Type of the message for the event |
| [in] | context | Context of the event. |
| void _gnrc_tcp_eventloop_unsched | ( | evtimer_msg_event_t * | event | ) |
Unschedule event to event loop.
Does nothing if event was not scheduled.
| [in] | event | The event to unschedule |