Commit Graph

65 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 217688767a Added yield to stop starving the mutex on our side. They (API users) could of course still starve it on their side, so they should use functions not to rapidly else event-loop gets no time to dispatch events they add. 2021-09-07 14:05:31 +02:00
Tristan B. Velloza Kildaire a6aa3486ad Added implementaiton for Signal's `handles(ulong)` 2021-09-01 15:33:39 +02:00
Tristan B. Velloza Kildaire e19421f4e5 Added some methods 2021-09-01 15:33:26 +02:00
Tristan B. Velloza Kildaire a7a3a09564 Set the id for the Event 2021-09-01 15:33:15 +02:00
Tristan B. Velloza Kildaire 972a12efed Fixed use of the Ranges, I recall how it works now 2021-09-01 15:33:07 +02:00
Tristan B. Velloza Kildaire 3a2637605a Fixed bug where mutex lock object was 0 addr 2021-09-01 14:50:39 +02:00
Tristan B. Velloza Kildaire fd4bcb7ecd Added multi-threaded dispatcher 2021-08-31 11:48:26 +02:00
Tristan B. Velloza Kildaire 8da3dd2b4a Loop through queue and find matcxhing signal handlers for the first event of each queue 2021-08-31 11:39:41 +02:00
Tristan B. Velloza Kildaire 349f3d3ddd Added queues for Queues and Signals and respective Mutexes 2021-08-31 11:34:41 +02:00
Tristan B. Velloza Kildaire 306122052c Added missing ID field 2021-08-31 11:34:29 +02:00
Tristan B. Velloza Kildaire 333ae361a8 Added a few methods for adding to the queue, checking if it is empoty and popping from the queue 2021-08-31 11:34:22 +02:00
Tristan B. Velloza Kildaire 29afd37f38 Added a few methods for Signal and Engine 2021-08-28 11:41:21 +02:00
Tristan B. Velloza Kildaire 635bdf255e Added stub types 2021-08-27 16:12:48 +02:00
Tristan B. Velloza Kildaire bfa98ffee6 Added stub for Engine class 2021-08-27 15:53:19 +02:00
Tristan B. Velloza Kildaire 7e5e13a7de first commit 2021-08-27 15:46:51 +02:00