Pelles C forum

Pelles C => Bug reports => Topic started by: fuerst on May 18, 2014, 07:05:14 PM

Title: Documentation atomic_flag_test_and_set[_explicit]
Post by: fuerst on May 18, 2014, 07:05:14 PM
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
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);
...



Title: Re: Documentation atomic_flag_test_and_set[_explicit]
Post by: Pelle on May 24, 2014, 08:25:11 PM
Right. Thanks, will fix it.