Changes in uspace/lib/c/include/fibril_synch.h [7f122e3:e9460aa] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/fibril_synch.h
r7f122e3 re9460aa 43 43 44 44 typedef struct { 45 fibril_owner_info_t oi; /* Keep this the first thing. */46 45 int counter; 47 46 link_t waiters; … … 50 49 #define FIBRIL_MUTEX_INITIALIZER(name) \ 51 50 { \ 52 .oi = { \53 .owned_by = NULL \54 }, \55 51 .counter = 1, \ 56 52 .waiters = { \ … … 64 60 65 61 typedef struct { 66 fibril_owner_info_t oi; /* Keep this the first thing. */67 62 unsigned writers; 68 63 unsigned readers; … … 72 67 #define FIBRIL_RWLOCK_INITIALIZER(name) \ 73 68 { \ 74 .oi = { \75 .owned_by = NULL \76 }, \77 69 .readers = 0, \ 78 70 .writers = 0, \
Note:
See TracChangeset
for help on using the changeset viewer.