Commit Graph

374 Commits (da58b04774aa68bec243c523100d8cd030e98846)
 

Author SHA1 Message Date
noah metz 04771b7816 Added BaseLockable and BaseThread nested saving/loading 2023-06-30 13:25:35 -06:00
noah metz 41d88b9d86 Removed print from test 2023-06-28 23:52:56 -06:00
noah metz 84a700909d Updated intances of state updating to use new API 2023-06-28 23:51:44 -06:00
noah metz e862f9e49c Add UseMoreStates and UpdateMoreStates that should only be called from eachother 2023-06-28 21:49:23 -06:00
noah metz 2c0fced413 Fix BaseLockable gql type 2023-06-28 01:53:39 -06:00
noah metz 82ae5279b0 test 2023-06-28 01:49:45 -06:00
noah metz e75171a9c5 test 2023-06-28 01:47:45 -06:00
noah metz 308b23ac69 fix 2023-06-28 01:45:57 -06:00
noah metz 59a9459d00 test 2023-06-28 01:44:00 -06:00
noah metz 7944cb694a fix 2023-06-28 01:41:55 -06:00
noah metz 524717e35e fix 2023-06-28 01:40:32 -06:00
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