Commit Graph

17 Commits

Author SHA1 Message Date
fincs
b56f2c56af Add, document, and use MAX_WAIT_OBJECTS 2018-12-15 18:11:35 +01:00
fincs
9674c05a57 Generalize Waitable, moving UEvent/UTimer specific code into a vtable. 2018-12-15 16:06:34 +01:00
fincs
7d53a977de Separate WaiterNode initialization again, which is now done in waitImpl 2018-12-15 13:50:46 +01:00
fincs
04fff2fc3b Move waiterForXyz() functions to Xyz's header file. Implement waiter for (kernel mode) Event, and use it instead. 2018-12-14 22:32:50 +01:00
fincs
9462acd55b Simplify WaiterNode, make it private. Improve UEvent autoclear logic. 2018-12-14 21:27:15 +01:00
fincs
fb789b52ba Synchronize eventWait and _waitLoop code 2018-12-14 17:59:54 +01:00
fincs
054b8fecdc waitN: Fix index bug when there are handles before UEvents in the array 2018-12-14 17:44:35 +01:00
fincs
0e9f781760 wait.c: Fix no-timeout handling; use new kernel error result codes 2018-12-14 16:29:54 +01:00
fincs
01b966b388 Stylefixes, part 1 2018-12-14 15:56:29 +01:00
plutooo
87033c4c04 wait: Rename UsermodeEvent and UsermodeTimer 2018-12-14 15:56:29 +01:00
plutooo
6988aea400 wait: Introduce wait for raw handles too 2018-12-14 15:56:29 +01:00
plutooo
4321fe4786 wait: Doxygen 2018-12-14 15:56:29 +01:00
plutooo
6fdd0df483 wait: Final implementation 2018-12-14 15:56:29 +01:00
plutooo
436607abef kernel: Review comments (move to private interface to private headers, atomics) 2018-12-14 15:56:28 +01:00
plutooo
88c20edf4b wait: Check for disabled timer 2018-12-14 15:56:28 +01:00
plutooo
445aaff012 wait: Bug-fixes and lock-free utimer stop/start 2018-12-14 15:56:28 +01:00
plutooo
a54881e7b0 kernel: Introduce utimer, uevent, and waitN 2018-12-14 15:56:28 +01:00