Commit Graph

496 Commits (0eab24365961fbb42ab104453f33a9a6a3c50869)
 

Author SHA1 Message Date
noah metz 5bdc06bf0f Added UnlinkLockables and UnlinkThreads 2023-07-03 16:37:54 -06:00
noah metz 64171c6c85 Added UnlinkLockables and UnlinkThreads 2023-07-03 16:03:56 -06:00
noah metz 34f8a9f009 Fixed typo in thread loading that resulted in the parent being loaded as an owner instead 2023-07-03 13:14:48 -06:00
noah metz a05d847863 test 2023-07-02 12:54:29 -06:00
noah metz 8a5de1b0de fix 2023-07-02 12:51:22 -06:00
noah metz 300e735065 Added restore actions, and gql should run them 2023-07-02 12:47:45 -06:00
noah metz 8d041fa896 Added SetTimeout back to Thread 2023-07-02 12:23:35 -06:00
noah metz 6355cc4226 Moved timeout info to thread state, and fixed restore to add handlers and actions 2023-07-02 12:17:53 -06:00
noah metz c9d9b9ac03 Update a bunch of stuff 2023-07-02 12:14:04 -06:00
noah metz 9b61adc375 Added check to allow restored threads to be run in RunThread 2023-07-02 11:26:58 -06:00
noah metz 06a6b0f09a Name json fields for gql thread info 2023-07-02 10:49:42 -06:00
noah metz 1585034777 Fixed gql threadstate 2023-07-02 10:46:53 -06:00
noah metz ce0634cd61 Only lock thread during RunThread if it's not already owned by the thread 2023-07-02 10:39:15 -06:00
noah metz 3ebb6fe223 Added fail to LockLockables if owner is trying to lock again 2023-07-02 10:34:25 -06:00
noah metz fa22d8f2a9 Log change 2023-07-02 10:09:46 -06:00
noah metz 1c6983ff4a Exposed load function maps in graph context constructor 2023-07-02 09:34:36 -06:00
noah metz 638148afab Updated FindChild to use UseMoreStates and expect to get passed currently held states 2023-07-02 09:05:34 -06:00
noah metz 97c1405e3c Fixed paramter order of GQLContext init 2023-07-01 13:47:12 -06:00
noah metz b7a7d509e6 Exposed gql context initialization 2023-07-01 13:41:38 -06:00
noah metz c2d09a07e3 Fixed type resolution that was missed 2023-07-01 13:11:46 -06:00
noah metz 9cb1d26405 Added test to display GQLThread serialized data 2023-07-01 13:06:39 -06:00
noah metz d2b32bac5e Moved GQL context information out of node runtime state and into context 2023-07-01 13:03:28 -06:00
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