Changeset 98000fb in mainline for kernel/generic/include/synch
- Timestamp:
- 2009-06-03T19:34:45Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 301ff30
- Parents:
- 69e68e3
- Location:
- kernel/generic/include/synch
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/futex.h
r69e68e3 r98000fb 50 50 link_t ht_link; 51 51 /** Number of tasks that reference this futex. */ 52 count_t refcount;52 size_t refcount; 53 53 } futex_t; 54 54 -
kernel/generic/include/synch/rwlock.h
r69e68e3 r98000fb 54 54 mutex_t exclusive; 55 55 /** Number of readers in critical section. */ 56 count_t readers_in;56 size_t readers_in; 57 57 } rwlock_t; 58 58 -
kernel/generic/include/synch/spinlock.h
r69e68e3 r98000fb 108 108 109 109 #define DEADLOCK_THRESHOLD 100000000 110 #define DEADLOCK_PROBE_INIT(pname) count_t pname = 0110 #define DEADLOCK_PROBE_INIT(pname) size_t pname = 0 111 111 #define DEADLOCK_PROBE(pname, value) \ 112 112 if ((pname)++ > (value)) { \
Note:
See TracChangeset
for help on using the changeset viewer.
