Changeset 9cefba4 in mainline for include/synch/rwlock.h
- Timestamp:
- 2005-10-16T19:18:19Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba1b2194
- Parents:
- 0bed5d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/synch/rwlock.h
r0bed5d0 r9cefba4 43 43 struct rwlock { 44 44 spinlock_t lock; 45 mutex_t exclusive; 46 int readers_in; 45 mutex_t exclusive; /**< Mutex for writers, readers can bypass it if readers_in is positive. */ 46 int readers_in; /**< Number of readers in critical section. */ 47 47 }; 48 48
Note:
See TracChangeset
for help on using the changeset viewer.