Ignore:
File:
1 edited

Legend:

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

    r508b0df1 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.