06.08.2013 Views

Threads in the new ISO C Standard from 2011

Threads in the new ISO C Standard from 2011

Threads in the new ISO C Standard from 2011

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Clear Atomic Flag<br />

bool atomic_flag_clear(<br />

volatile atomic_flag* ptr);<br />

bool atomic_flag_clear_explicit(<br />

volatile atomic_flag* ptr,<br />

memory_order order);<br />

These functions clear <strong>the</strong> flag.<br />

The order may nei<strong>the</strong>r be memory_order_acquire nor<br />

memory_order_acq_rel<br />

Jonas Skeppstedt (js@cs.lth.se) Lecture 6 2013 20 / 70

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!