commit faf2e355f2ab13a6adac1f21f645fc6bcf8c2420 parent fe6ffdb2697334c5e4ad0d686baa5dbf32f6ba2b Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Dec 18 23:19:04 +0200 Initialise reader_acquired = false Diffstat:
nonblocking_fixed_mpsc_queue.h | | | 1 | + |
diff --git a/nonblocking_fixed_mpsc_queue.h b/nonblocking_fixed_mpsc_queue.h @@ -12,6 +12,7 @@ public: NonblockingFixedMPSCQueue() { head = 0; num_elems = 0; + reader_acquired = false; mutex_init( &mutex ); }