Skip to content
Snippets Groups Projects
Commit 3b83ceea authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

First implementation of an event scheduler API.

Scheduler works with the same event type as evqueue_t.

Example:
evsched_t *s = evsched_new();
evsched_schedule_cb(s, myfunc, data, 1000) // Schedule myfunc() after 1000ms
event_t *ev = evsched_next(); // Run event scheduler
evsched_event_free(s, ev); // Free executed event
evsched_delete(s);

Commit refs #799.
parent eb14ba53
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment