Subversion Repositories HelenOS-historic

Rev

Rev 1503 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1503 Rev 1653
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
 /** @addtogroup libc
-
 
30
 * @{
-
 
31
 */
-
 
32
/** @file
-
 
33
 */
-
 
34
 
29
#ifndef __LIBC__FUTEX_H__
35
#ifndef __LIBC__FUTEX_H__
30
#define __LIBC__FUTEX_H__
36
#define __LIBC__FUTEX_H__
31
 
37
 
32
#include <atomic.h>
38
#include <atomic.h>
33
#include <types.h>
39
#include <types.h>
Line 39... Line 45...
39
extern int futex_trydown(atomic_t *futex);
45
extern int futex_trydown(atomic_t *futex);
40
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);
41
extern int futex_up(atomic_t *futex);
47
extern int futex_up(atomic_t *futex);
42
 
48
 
43
#endif
49
#endif
-
 
50
 
-
 
51
 
-
 
52
 /** @}
-
 
53
 */
-
 
54
 
-
 
55