NO

Author Topic: Documentation atomic_flag_test_and_set[_explicit]  (Read 2158 times)

fuerst

  • Guest
Documentation atomic_flag_test_and_set[_explicit]
« on: May 18, 2014, 07:05:14 PM »
Code: [Select]
Purpose:
Tests and sets a lock-free primitive atomic flag.

Syntax:
void atomic_flag_test_and_set(volatile atomic_flag *object);
void atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order);
...
should be
Code: [Select]
Purpose:
Tests and sets a lock-free primitive atomic flag.

Syntax:
_Bool atomic_flag_test_and_set(volatile atomic_flag *object);
_Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order);
...



Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Documentation atomic_flag_test_and_set[_explicit]
« Reply #1 on: May 24, 2014, 08:25:11 PM »
Right. Thanks, will fix it.
/Pelle