Commit Graph

16 Commits

Author SHA1 Message Date
fincs
13a74ca40c Finishing touches to user-mode synchronization primitives 2018-12-15 21:26:48 +01:00
fincs
b0f87a5189 UTimer: use an actual 'started' flag instead of a magic tick value 2018-12-15 16:22:04 +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
9462acd55b Simplify WaiterNode, make it private. Improve UEvent autoclear logic. 2018-12-14 21:27:15 +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
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
66a029232b utimer: Add TimerType_OneShot 2018-12-14 15:56:29 +01:00
plutooo
fa19a5ada4 wait: Improve timer calculation, thanks derrek 2018-12-14 15:56:29 +01:00
plutooo
1ad556cd22 wait: Fix a race 2018-12-14 15:56:29 +01:00
plutooo
6fdd0df483 wait: Final implementation 2018-12-14 15:56:29 +01:00
plutooo
09a178db70 arm: Rename armTickToNs(), etc 2018-12-14 15:56:28 +01:00
plutooo
436607abef kernel: Review comments (move to private interface to private headers, atomics) 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