Subversion Repositories HelenOS

Rev

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

Rev 1787 Rev 1866
Line 30... Line 30...
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
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 <types.h>
40
 
40
 
41
#define FUTEX_INITIALIZER     {1}
41
#define FUTEX_INITIALIZER     {1}
Line 46... Line 46...
46
extern int futex_down_timeout(atomic_t *futex, uint32_t usec, int flags);
46
extern int futex_down_timeout(atomic_t *futex, uint32_t usec, int flags);
47
extern int futex_up(atomic_t *futex);
47
extern int futex_up(atomic_t *futex);
48
 
48
 
49
#endif
49
#endif
50
 
50
 
51
 
-
 
52
 /** @}
51
/** @}
53
 */
52
 */
54
 
-
 
55
 
-