Subversion Repositories HelenOS-historic

Rev

Rev 1143 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1143 Rev 1503
Line 35... Line 35...
35
#define FUTEX_INITIALIZER     {1}
35
#define FUTEX_INITIALIZER     {1}
36
 
36
 
37
extern void futex_initialize(atomic_t *futex, int value);
37
extern void futex_initialize(atomic_t *futex, int value);
38
extern int futex_down(atomic_t *futex);
38
extern int futex_down(atomic_t *futex);
39
extern int futex_trydown(atomic_t *futex);
39
extern int futex_trydown(atomic_t *futex);
40
extern int futex_down_timeout(atomic_t *futex, uint32_t usec, int trydown);
40
extern int futex_down_timeout(atomic_t *futex, uint32_t usec, int flags);
41
extern int futex_up(atomic_t *futex);
41
extern int futex_up(atomic_t *futex);
42
 
42
 
43
#endif
43
#endif