Commit Graph

524 Commits (646e6592f0ae6e93cb0ca5eab70363f18b846ab4)
 

Author SHA1 Message Date
noah metz 02aa464af2 Removed extra update send in unlock 2023-06-02 17:34:35 -06:00
noah metz b5db5f53b5 fix 2023-06-02 17:33:10 -06:00
noah metz c467e267ed Removed trace log statements for locking. Need to add configurable log levels and categories to make debugging/developing better. 2023-06-02 17:32:40 -06:00
noah metz 100a5f8f2e Moved class methods to package methods. Updated graph once again 2023-06-02 17:31:29 -06:00
noah metz 55d977e9b8 Updated listener to have explicit unregister. Cleanup of initializers. More stuff I don't remember. 2023-06-01 22:42:47 -06:00
noah metz d7b13de82f Updated tests and fixed updates before/after locking/unlocking 2023-06-01 13:48:38 -06:00
noah metz 990b93757f Added virtual arena that responds to signals on a channel, cleaned up log messages, and fixed update() hierarchy 2023-06-01 13:11:32 -06:00
noah metz 26a2a63d83 Removed graphql dependency 2023-05-31 00:37:51 -06:00
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