fix: remove atomics from threadlocal

main
Sean McBride 4 years ago
parent bf6b5d3c61
commit c855d013c8

@ -1,6 +1,5 @@
#ifdef LOG_LOCAL_RUNQUEUE #ifdef LOG_LOCAL_RUNQUEUE
#include <stdatomic.h>
#include <stdint.h> #include <stdint.h>
#endif #endif
@ -9,7 +8,7 @@
static struct local_runqueue_config local_runqueue; static struct local_runqueue_config local_runqueue;
#ifdef LOG_LOCAL_RUNQUEUE #ifdef LOG_LOCAL_RUNQUEUE
__thread _Atomic uint32_t local_runqueue_count = 0; __thread uint32_t local_runqueue_count = 0;
#endif #endif
/* Initializes a concrete implementation of the sandbox request scheduler interface */ /* Initializes a concrete implementation of the sandbox request scheduler interface */

Loading…
Cancel
Save