Commit Graph

40 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire c6082f3941 Unit test: Shutdown engine after testing 2022-05-19 16:48:09 +02:00
Tristan B. Velloza Kildaire 692660772a Added rudimentary shutdown() method 2022-04-07 10:11:59 +02:00
Tristan B. Velloza Kildaire ea1e317431 Updated README 2022-01-16 15:02:01 +02:00
Tristan B. Velloza Kildaire f2f79e1cf8 Updated documentation 2022-01-16 14:56:26 +02:00
Tristan B. Velloza Kildaire f649a63a77 Re-worked event system 2022-01-16 14:32:00 +02:00
Tristan B. Velloza Kildaire f1a13623a6 Added comment 2022-01-16 14:22:18 +02:00
Tristan B. Velloza Kildaire c2bc5bc902 Added optional payload support 2022-01-16 14:21:09 +02:00
Tristan B. Kildaire 72a35976e1 Added a Javadoc 2021-12-27 13:04:30 +02:00
Tristan B. Kildaire 3e826aa1ac Added a Javadoc 2021-12-27 13:03:55 +02:00
Tristan B. Kildaire f87a7f44ca Added some Javadocs 2021-12-27 13:02:32 +02:00
Tristan B. Velloza Kildaire d2e9f5376c New logo 2021-12-27 12:29:47 +02:00
Tristan B. Kildaire e6c18021bc
Delete libeventdisp.a 2021-12-27 12:22:58 +02:00
Tristan B. Velloza Kildaire 9cc4de215c Made public 2021-09-15 14:55:11 +02:00
Tristan B. Velloza Kildaire a86ff8fda2 Cleaned up 2021-09-15 14:54:59 +02:00
Tristan B. Velloza Kildaire e7c913bc10 Added README (WIP) 2021-09-08 13:01:39 +02:00
Tristan B. Velloza Kildaire fa9b827711 New logo 2021-09-08 13:01:34 +02:00
Tristan B. Velloza Kildaire 77774a73e1 Added logo 2021-09-08 12:55:10 +02:00
Tristan B. Velloza Kildaire c1c4225800 Create package.d 2021-09-08 12:51:53 +02:00
Tristan B. Velloza Kildaire 179203caef Updated dub information 2021-09-08 12:42:58 +02:00
Tristan B. Velloza Kildaire 15bc5d5b7e Updated licensing information 2021-09-08 12:42:55 +02:00
Tristan B. Velloza Kildaire b4d117d721 Added igitignore 2021-09-08 12:40:08 +02:00
Tristan B. Velloza Kildaire 7b835b39de Fixed error where no queues could be added 2021-09-08 12:39:40 +02:00
Tristan B. Velloza Kildaire 206775937e Added missing exception definition 2021-09-08 12:37:29 +02:00
Tristan B. Velloza Kildaire ca61e7a8e1 Use ~ opAssign operator instead 2021-09-08 12:37:20 +02:00
Tristan B. Velloza Kildaire f5ed565912 Don't waste time spinning on a mutex that cannot be unlocked, yield as it may be unlocked by another process, if not then whenever we get back here try again (repeat if same result), else fall through with lock, execute event loop, unlock and yield (as per normal) 2021-09-07 14:12:31 +02:00
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