Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5f1d850 in mainline for uspace/lib/c/generic/private/futex.h


Ignore:
Timestamp:
2018-09-07T16:00:22Z (4 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial
Children:
3cfe2b8
Parents:
e3306d04
Message:

Convert atomic_t to atomic_size_t (5): Remove unused atomic_signed_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/private/futex.h

    re3306d04 r5f1d850  
    8181
    8282#define futex_give_to(fut, owner) ((void)0)
    83 #define futex_assert_is_locked(fut) assert((atomic_signed_t) (fut)->val.count <= 0)
     83#define futex_assert_is_locked(fut) assert(atomic_load_explicit(&(fut)->val, memory_order_relaxed) <= 0)
    8484#define futex_assert_is_not_locked(fut) ((void)0)
    8585
Note: See TracChangeset for help on using the changeset viewer.