Commit graph

59 commits

Author SHA1 Message Date
Sönke Ludwig
3868ee64ce Sketch the missing driver API functions and avoid virtual function calls.
The individual interface getters are now overridden in the final sub classes to avoid virtual calls whenever the final type is used.
2016-10-05 13:15:04 +02:00
Sönke Ludwig
e3c4af8433 Split up EventDriver interface into individual sub interfaces. 2016-10-05 04:21:24 +02:00
Sönke Ludwig
32394bb4c9 Add clearExitFlag(). 2016-06-16 10:42:38 +02:00
Sönke Ludwig
f808f89e7c Fix issues for posix events and cleanup cancel semantics.
Cancelling an operation now guarantees that the callback won't be called.
2016-06-15 18:20:32 +02:00
Sönke Ludwig
5298e00c09 Remove redundant callback parameter from createTimer. 2016-06-14 09:25:06 +02:00
Sönke Ludwig
5ec6b9a5e5 Add more interface functions.
- Cancelling of socket read/write events
- Cancelling of timer waits
- Retrieving the TCP connection state
- Storing custom data together with the event structures
2016-06-14 07:57:10 +02:00
Sönke Ludwig
0b7adc993f Implement manual events in the PosixEventDriver and add waitTimer. 2016-02-03 14:21:02 +01:00
Sönke Ludwig
844e955cdb Add EventDriver.exit and move all event callback parameters to the end. 2016-01-27 11:02:54 +01:00
Sönke Ludwig
2a926d87aa Initial version with sone partial Posix implementations. 2016-01-11 21:33:49 +01:00