Commit Graph

15 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 2251a00284 Descriptor queue safety fix
Fixed a bug whereby if one were to get new Descriptor classes across
several threads then the Mutex for the descriptor queue would be reinitialzied
upon static initialization of the thread as the static initialization block
was not set to __gshared, causing a global re-write of a re-initted Mutex,
never the same Mutex
2022-05-24 19:23:46 +02:00
Tristan B. Velloza Kildaire 8ede79bf49 Future: Add support for fixed descriptor IDs 2022-05-24 19:20:39 +02:00
Tristan B. Velloza Kildaire bc6c90411a Added comment 2022-05-24 19:16:23 +02:00
Tristan B. Velloza Kildaire d15d4bdb84 Removed TODO 2022-01-16 18:16:42 +02:00
Tristan B. Velloza Kildaire 826f110b17 Added comments, Added descPool 2022-01-16 18:11:34 +02:00
Tristan B. Velloza Kildaire df7f731218 Upgraded to new Eventy, integrated Eventy Signal\(\) into Descriptor 2022-01-16 15:16:13 +02:00
Tristan B. Velloza Kildaire 2712585684 Switched to 8-byte ulong descIDs, set descID to immutable, added signal handler creation and register the provided EventHandler with said Signal handler 2022-01-16 13:44:05 +02:00
Tristan B. Velloza Kildaire 36c84999cc Updated Descriptor class to use new string descIDs, updated Job to use new Desc IDs, added unit test for Descriptor creation 2022-01-16 13:04:23 +02:00
Tristan B. Velloza Kildaire 71e3476afd Make use of recursive mutex 2022-01-16 12:57:05 +02:00
Tristan B. Velloza Kildaire f532b1ef8b New descriptor class ID implementation 2022-01-16 12:54:13 +02:00
Tristan B. Velloza Kildaire 0d677f8610 Added descriptor class ID generator-and-reserver 2022-01-13 00:07:48 +02:00
Tristan B. Velloza Kildaire d657c36ec6 Initailzie descQueue and its Mutex 2022-01-12 18:44:11 +02:00
Tristan B. Velloza Kildaire a9b75d36d1 Moved Descriptor usage facility to the Descriptor class 2022-01-12 18:32:54 +02:00
Tristan B. Velloza Kildaire 934852c2a8 WIP: Added plumbing for descriptor class clash handling 2022-01-12 17:47:50 +02:00
Tristan B. Velloza Kildaire 63db311cdd Work begun on implementing Jobs and their Descriptors 2022-01-12 17:29:03 +02:00