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
+4 -4
View File
@@ -43,8 +43,8 @@ typedef struct TEX_Stripe TEX_Stripe;
struct TEX_Stripe
{
Arena *arena;
OS_Handle rw_mutex;
OS_Handle cv;
RWMutex rw_mutex;
CondVar cv;
};
////////////////////////////////
@@ -96,8 +96,8 @@ struct TEX_Shared
U8 *u2x_ring_base;
U64 u2x_ring_write_pos;
U64 u2x_ring_read_pos;
OS_Handle u2x_ring_cv;
OS_Handle u2x_ring_mutex;
CondVar u2x_ring_cv;
Mutex u2x_ring_mutex;
// rjf: evictor thread
OS_Handle evictor_thread;