- Timestamp:
- 2006-03-22T22:25:28Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2802767
- Parents:
- d71007e
- Location:
- generic/include
- Files:
-
- 2 edited
-
atomic.h (modified) (1 diff)
-
typedefs.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
generic/include/atomic.h
rd71007e rd2ab461 30 30 #define __ATOMIC_H__ 31 31 32 struct atomic {32 typedef struct atomic { 33 33 volatile long count; 34 } ;34 } atomic_t; 35 35 36 36 #include <arch/atomic.h> 37 #include <typedefs.h>38 37 39 38 static inline void atomic_set(atomic_t *val, long i) -
generic/include/typedefs.h
rd71007e rd2ab461 62 62 typedef struct condvar condvar_t; 63 63 typedef struct waitq waitq_t; 64 typedef struct futex futex_t; 64 65 65 66 typedef struct chunk chunk_t; … … 93 94 typedef struct btree btree_t; 94 95 95 typedef struct atomic atomic_t;96 97 96 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
