Changeset b3c38750 in mainline for uspace/lib/libc/include/rwlock.h
- Timestamp:
- 2008-01-06T13:08:32Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4db6eaf
- Parents:
- 9413c0d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/rwlock.h
r9413c0d rb3c38750 45 45 typedef atomic_t rwlock_t; 46 46 47 #define RWLOCK_INITIALIZE(rwlock) \ 48 rwlock_t rwlock = FUTEX_INITIALIZER 49 47 50 #define rwlock_initialize(rwlock) futex_initialize((rwlock), 1) 48 51 #define rwlock_reader_lock(rwlock) futex_down((rwlock))
Note:
See TracChangeset
for help on using the changeset viewer.