Skip to content

Commit

Permalink
Merge pull request #333 from insertinterestingnamehere/atomic_queuele…
Browse files Browse the repository at this point in the history
…ngths

Atomic Queuelengths
  • Loading branch information
insertinterestingnamehere authored Jan 22, 2025
2 parents 9de228c + 3a7990f commit 85291f1
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 68 deletions.
4 changes: 2 additions & 2 deletions include/qt_spawncache.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ typedef struct _qt_threadqueue_node qt_threadqueue_node_t;
typedef struct _qt_threadqueue_private {
qt_threadqueue_node_t *head, *tail;
qt_threadqueue_node_t *on_deck;
long qlength;
long qlength_stealable;
_Atomic long qlength;
_Atomic long qlength_stealable;
struct _qt_threadqueue_private *next;
} qt_threadqueue_private_t;

Expand Down
Loading

0 comments on commit 85291f1

Please sign in to comment.