Rev 4516 | Rev 4526 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4516 | Rev 4522 | ||
---|---|---|---|
Line 53... | Line 53... | ||
53 | .next = &name.waiters, \ |
53 | .next = &name.waiters, \ |
54 | } \ |
54 | } \ |
55 | } |
55 | } |
56 | 56 | ||
57 | typedef struct { |
57 | typedef struct { |
58 | fibril_mutex_t fm; |
58 | fibril_mutex_t fm; |
59 | } fibril_rwlock_t; |
59 | } fibril_rwlock_t; |
60 | 60 | ||
61 | #define FIBRIL_RWLOCK_INITIALIZE(name) \ |
61 | #define FIBRIL_RWLOCK_INITIALIZE(name) \ |
62 | fibril_rwlock_t name = { \ |
62 | fibril_rwlock_t name = { \ |
63 | .fm = { \ |
63 | .fm = { \ |