Changeset 1b7eec9 in mainline for uspace/lib/c/include/futex.h


Ignore:
Timestamp:
2012-12-04T03:48:21Z (13 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9a3b469
Parents:
cb10bc9
Message:

urcu: rcu_synchronize allows to specify if it may block the current fibril or rather the current thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/futex.h

    rcb10bc9 r1b7eec9  
    4040#include <libc.h>
    4141
    42 
    43 #define FUTEX_INITIALIZER  {{1}}
     42#define FUTEX_INITIALIZE(val) {{(val)}}
     43#define FUTEX_INITIALIZER     FUTEX_INITIALIZE(1)
    4444
    4545typedef struct futex {
Note: See TracChangeset for help on using the changeset viewer.