Hooks for custom event loop implementation
As well as a basic blocking one, core library needs to provide a function to generate an event loop when given a struct of callbacks; so easy Glib / libuv / etc.. integrations can be made.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- Paul "LeoNerd" Evans
- Direction:
- Approved
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- Accepted for trunk
- Implementation:
-
Implemented
- Milestone target:
-
v0.3
- Started by
- Paul "LeoNerd" Evans
- Completed by
- Paul "LeoNerd" Evans
Related branches
Related bugs
Sprints
Whiteboard
typedef struct {
void *(*init)(Tickit *t);
void (*destroy)(void *data);
void (*run)(void *data);
void (*stop)(void *data);
void *(*watch_
void *(*timer)(void *data, const struct timeval *at, TickitBindFlags flags, TickitCallbackFn *fn, void *user);
void (*timer_
void *(*later)(void *data, TickitBindFlags flags, TickitCallbackFn *fn, void *user);
} TickitEventHooks;
Work Items
Dependency tree

* Blueprints in grey have been implemented.