OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [include/] [sys/] [lock.h] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
#ifndef __SYS_LOCK_H__
2
#define __SYS_LOCK_H__
3
 
4
/* dummy lock routines for single-threaded aps */
5
 
6
typedef int _LOCK_T;
7
typedef int _LOCK_RECURSIVE_T;
8
 
9
#include <_ansi.h>
10
 
11
#define __LOCK_INIT(class,lock) static int lock = 0;
12
#define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0;
13
#define __lock_init(lock) (_CAST_VOID 0)
14
#define __lock_init_recursive(lock) (_CAST_VOID 0)
15
#define __lock_close(lock) (_CAST_VOID 0)
16
#define __lock_close_recursive(lock) (_CAST_VOID 0)
17
#define __lock_acquire(lock) (_CAST_VOID 0)
18
#define __lock_acquire_recursive(lock) (_CAST_VOID 0)
19
#define __lock_try_acquire(lock) (_CAST_VOID 0)
20
#define __lock_try_acquire_recursive(lock) (_CAST_VOID 0)
21
#define __lock_release(lock) (_CAST_VOID 0)
22
#define __lock_release_recursive(lock) (_CAST_VOID 0)
23
 
24
#endif /* __SYS_LOCK_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.