Commit Graph

413 Commits (f31beade296ccef877b18424ff0ba3386cbad400)
 

Author SHA1 Message Date
noah metz 31ecc869ec Add more gql logging 2023-06-28 01:35:17 -06:00
noah metz 43dd555801 Add more gql logging 2023-06-28 01:32:37 -06:00
noah metz 65c653b896 Add more gql logging 2023-06-28 01:31:19 -06:00
noah metz 4db1b6446c Fix typo 2023-06-28 01:27:47 -06:00
noah metz 5b2b33d930 Add Lockable fields to thread in gql 2023-06-28 01:26:44 -06:00
noah metz 3e27d1d6b0 Add owner checks to LinkLockable 2023-06-28 01:02:43 -06:00
noah metz a696213e38 Rework locking to hold all locks before changing any state 2023-06-28 00:48:49 -06:00
noah metz ee98e13044 Log unlock 2023-06-27 18:48:45 -06:00
noah metz cf11176cff Fix gql base types 2023-06-27 13:07:23 -06:00
noah metz ff68f131e5 Try to get interface type differently 2023-06-27 13:00:53 -06:00
noah metz 18703d1a6d Fix pointer type 2023-06-27 12:58:21 -06:00
noah metz b174727bda Try to pass reflect.Type as pointer 2023-06-27 12:57:00 -06:00
noah metz 88a55cd095 Enhance logging 2023-06-27 12:55:53 -06:00
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