Subversion Repositories HelenOS

Rev

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

Rev 2479 Rev 2541
Line 34... Line 34...
34
 
34
 
35
#ifndef LIBC_FUTEX_H_
35
#ifndef LIBC_FUTEX_H_
36
#define LIBC_FUTEX_H_
36
#define LIBC_FUTEX_H_
37
 
37
 
38
#include <atomic.h>
38
#include <atomic.h>
39
#include <types.h>
39
#include <sys/types.h>
40
 
40
 
41
#define FUTEX_INITIALIZER     {1}
41
#define FUTEX_INITIALIZER     {1}
42
 
42
 
43
extern void futex_initialize(atomic_t *futex, int value);
43
extern void futex_initialize(atomic_t *futex, int value);
44
extern int futex_down(atomic_t *futex);
44
extern int futex_down(atomic_t *futex);