define synchronization primitive interface in base layer, implement using os layer; convert all usage -> base layer; use base sync primitives in lane tctx info

This commit is contained in:
Ryan Fleury
2025-08-18 10:46:43 -07:00
parent a48651471d
commit c33dd2869a
49 changed files with 1454 additions and 1293 deletions
+3 -3
View File
@@ -27,7 +27,7 @@ struct MTX_Stripe
{
Arena *arena;
MTX_Node *free_node;
OS_Handle rw_mutex;
RWMutex rw_mutex;
};
////////////////////////////////
@@ -47,8 +47,8 @@ struct MTX_MutThread
U8 *ring_base;
U64 ring_read_pos;
U64 ring_write_pos;
OS_Handle cv;
OS_Handle mutex;
CondVar cv;
Mutex mutex;
OS_Handle thread;
};