Commit Graph

66 Commits (d5c1340555e4c9881c6cf7601e5a74b69704b594)
 

Author SHA1 Message Date
noah metz b7365f7dfb Made event part of the closure and created first step of match 2023-05-30 21:50:59 -06:00
noah metz 62dbe54e81 Cleaned up Event to make new structures easier, added vex Match and tests 2023-05-30 20:45:16 -06:00
noah metz 07097bfd9d Unlock required resources on event unlock 2023-05-30 00:00:14 -06:00
noah metz f6834c9201 Added basic event queue machine 2023-05-29 23:54:52 -06:00
noah metz 0c3193162c renamed graph_test.go to manager_test.go 2023-05-29 19:20:45 -06:00
noah metz 11bf1e5344 Split to seperate files and removed FSM libary to prepare for embedded callback mechanism 2023-05-29 19:17:52 -06:00
noah metz c06ff16fc9 Added EventQueue and added child_event_type that defines the required type of child_info. Look at how to make this not take up memory in each struct. 2023-05-08 21:42:33 -06:00
noah metz 272022629b Added TestAddEvent test 2023-04-08 16:59:36 -06:00
noah metz 81b3ab65bf Added constructor for EventManger that requires a single event with no children and a list of Resources ordered by dependency. Updated main and tests to match. 2023-04-08 16:51:34 -06:00
noah metz d4da75d6a1 Removed comment 2023-04-08 15:52:06 -06:00
noah metz 3e5b52884f Added update to lock/unlock for resource 2023-04-08 15:51:42 -06:00
noah metz 2b562abe01 Added naive locking/unlocking. Want to verify if it's possible to get into a deadlock with current implementation. 2023-04-08 15:47:51 -06:00
noah metz e4366c5bf2 Added 3rd tier to TestResourceUpdate 2023-04-08 15:26:04 -06:00
noah metz 07c78387d8 Added tests for graph.go 2023-04-08 15:23:40 -06:00
noah metz 18cb18f6a7 Added .gitignore and Makefile 2023-04-08 14:09:25 -06:00
noah metz ca71fd3061 Initial commit of event manager datastructures with some fake vex data. 2023-04-08 13:58:47 -06:00