Changeset c3fa24e in mainline
- Timestamp:
- 2019-01-22T16:35:46Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e5ace7d7
- Parents:
- b51ee38
- Location:
- uspace/lib/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/pio_trace.c
rb51ee38 rc3fa24e 81 81 { 82 82 static pio_regions_t regions = { 83 .list = { 84 .head = { ®ions.list.head, ®ions.list.head }, 85 }, 83 .list = LIST_INITIALIZER(regions.list), 86 84 .guard = FIBRIL_RWLOCK_INITIALIZER(regions.guard), 87 85 }; -
uspace/lib/c/include/fibril_synch.h
rb51ee38 rc3fa24e 54 54 }, \ 55 55 .counter = 1, \ 56 .waiters = { \ 57 .head = { \ 58 .prev = &(name).waiters.head, \ 59 .next = &(name).waiters.head, \ 60 } \ 61 } \ 56 .waiters = LIST_INITIALIZER((name).waiters), \ 62 57 } 63 58 … … 79 74 .readers = 0, \ 80 75 .writers = 0, \ 81 .waiters = { \ 82 .head = { \ 83 .prev = &(name).waiters.head, \ 84 .next = &(name).waiters.head, \ 85 } \ 86 } \ 76 .waiters = LIST_INITIALIZER((name).waiters), \ 87 77 } 88 78 … … 96 86 #define FIBRIL_CONDVAR_INITIALIZER(name) \ 97 87 { \ 98 .waiters = { \ 99 .head = { \ 100 .next = &(name).waiters.head, \ 101 .prev = &(name).waiters.head, \ 102 } \ 103 } \ 88 .waiters = LIST_INITIALIZER((name).waiters), \ 104 89 } 105 90 … … 153 138 { \ 154 139 .count = (cnt), \ 155 .waiters = { \ 156 .head = { \ 157 .next = &(name).waiters.head, \ 158 .prev = &(name).waiters.head, \ 159 } \ 160 } \ 140 .waiters = LIST_INITIALIZER((name).waiters), \ 161 141 } 162 142
Note:
See TracChangeset
for help on using the changeset viewer.