Commit Graph

550 Commits (3d28c703db2af5259893268eaf7e4e70d090d5a6)
 

Author SHA1 Message Date
noah metz bed500e2db Added more gql logging 2023-06-27 12:53:10 -06:00
noah metz 5a694dc067 Updated gql to use base types as fallback 2023-06-27 10:30:11 -06:00
noah metz 7b6ceaaad2 Removed _state from json attributes 2023-06-26 23:20:12 -06:00
noah metz 1ce98e2719 Renamed delegation_map to locks_held 2023-06-26 23:18:54 -06:00
noah metz 856867fb10 Fix locking 2023-06-26 23:15:40 -06:00
noah metz cf8648f615 Chane UnlockLockable recursiveness 2023-06-26 23:12:43 -06:00
noah metz 6c1887ed76 Change lockable recursiveness 2023-06-26 23:10:18 -06:00
noah metz 94ef8ca3d0 Add ReadDBStateCopy 2023-06-26 23:03:11 -06:00
noah metz b145148471 Added Logj 2023-06-26 22:39:24 -06:00
noah metz 583e1957c1 Export BaseSignal fields 2023-06-26 22:30:02 -06:00
noah metz 10bd1ee823 Change BaseSignal.String() to use json.Marshal 2023-06-26 22:06:09 -06:00
noah metz 62d56f208a Add ChildGo to conveniently start children 2023-06-26 21:20:04 -06:00
noah metz 4c462a1ec5 Export InfoType for BaseThreadState to make it modifiable in libraries 2023-06-26 17:03:09 -06:00
noah metz dc7f742f32 Updated to make it easier to create modules 2023-06-26 01:16:44 -06:00
noah metz 26f57daf23 Changed NewLockable to NewBaseLockable 2023-06-25 22:23:57 -06:00
noah metz 10ab3a48cf made gql_test.go pass 2023-06-25 22:19:05 -06:00
noah metz bb3c80dbc7 Fixed internal signalling for threads, and update signal type in gql 2023-06-25 21:00:00 -06:00
noah metz 7b84c8bc54 Removed obsolete Makefile 2023-06-25 20:43:48 -06:00
noah metz fe64632b19 Added Lockable to gql 2023-06-25 20:42:35 -06:00
noah metz a185cc3dfc Added base GQLThread 2023-06-25 20:20:59 -06:00
noah metz 1598e2939a Cleaned up initializers 2023-06-25 13:39:00 -06:00
noah metz b66fad2c8e Fixed update path and added more tests 2023-06-24 19:48:59 -06:00
noah metz 6f83587d7f Removed commented out code 2023-06-23 22:25:36 -06:00
noah metz fd9af3ef96 Nesting json unmarshal functions 2023-06-23 22:19:43 -06:00
noah metz cb718d486f fixed bug in lockable and moved delegation_map to lockable 2023-06-23 21:57:26 -06:00
noah metz b31de3418b Added thread_test.go 2023-06-23 21:21:14 -06:00
noah metz 30971f00bd Renamed resource to lockable and event to thread 2023-06-23 20:56:09 -06:00
noah metz 2de5276ecc Rework of graph.go and resource.go for state 2023-06-23 10:10:25 -06:00
noah metz 5cd741b42e intermediary 2023-06-22 15:50:42 -06:00
noah metz 753a5ed358 Changed resources needed by an event from a slice to a map 2023-06-21 12:26:22 -06:00
noah metz d8446a2159 Fix typo 2023-06-21 11:55:11 -06:00
noah metz e87f53c22d Added children to resource interface 2023-06-21 11:52:30 -06:00
noah metz 3405521e9f Added children to resource interface 2023-06-21 11:50:57 -06:00
noah metz 9103b01990 Removed fmt.Printf from graph_test.go 2023-06-21 10:48:08 -06:00
noah metz e0b0cc7712 Moved manager_test.go to graph_test.go 2023-06-21 10:47:00 -06:00
noah metz 10323ee677 Updated TestDelegateLock to test if lock gets passed back correctly 2023-06-20 22:37:48 -06:00
noah metz adcd079156 Added first pass of hierarchical locking 2023-06-20 22:36:18 -06:00
noah metz 687355f355 Added GQLServer to gql schema 2023-06-20 21:21:09 -06:00
noah metz fe307ff27f Added Resources field to gql for Event 2023-06-20 21:13:35 -06:00
noah metz 5be9b9ac07 Removed StartRootEvent, now run LockResource(root_event) then RunEvent(root_event) 2023-06-20 20:48:48 -06:00
noah metz 41f28a2017 Made logging configurable 2023-06-20 16:35:16 -06:00
noah metz b630c015df update 2023-06-20 16:22:22 -06:00
noah metz ff0f54ee88 Enable event logging 2023-06-20 16:17:28 -06:00
noah metz 2122362891 Resources initialize on creation instead of explicitly 2023-06-20 16:09:17 -06:00
noah metz b00a6b7bd4 Update go.mod with new github org 2023-06-20 15:49:03 -06:00
noah metz 9980be7c86 Removed EventMangar 2023-06-20 15:48:17 -06:00
noah metz 32434e7dfe Less logging 2023-06-19 16:47:32 -06:00
noah metz 9fd8117169 update logging 2023-06-19 16:39:36 -06:00
noah metz 765bc15846 Updated logging 2023-06-19 16:32:44 -06:00
noah metz 2c8f741f9f Fix 2023-06-19 15:53:32 -06:00