Skip to content

Commit f0ed177

Browse files
authored
add waiting threads counter in PhysicsWorldObject struct
1 parent de3ded1 commit f0ed177

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/culverin/culverin.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ typedef struct PhysicsWorldObject {
301301
uint32_t max_jolt_bodies;
302302
atomic_int active_queries;
303303
int view_export_count;
304+
atomic_int waiting_threads; // Anti-starvation counter
304305

305306
// --- BUCKET 3: Structs & Complex Types ---
306307
ShadowSync step_sync; // 16 bytes (Internal 8-byte alignment)

0 commit comments

Comments
 (0)