Changeset 80cd7cd in mainline for uspace/lib/c/generic/fibril_synch.c
- Timestamp:
- 2011-01-13T20:58:24Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 87e373b
- Parents:
- eaef141 (diff), a613fea1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/fibril_synch.c
reaef141 r80cd7cd 104 104 fibril_t *f = (fibril_t *) fibril_get_id(); 105 105 106 if (fibril_get_sercount() != 0) 107 core(); 108 106 109 futex_down(&async_futex); 107 110 if (fm->counter-- <= 0) { … … 194 197 fibril_t *f = (fibril_t *) fibril_get_id(); 195 198 199 if (fibril_get_sercount() != 0) 200 core(); 201 196 202 futex_down(&async_futex); 197 203 if (frw->writers) { … … 219 225 fibril_t *f = (fibril_t *) fibril_get_id(); 220 226 227 if (fibril_get_sercount() != 0) 228 core(); 229 221 230 futex_down(&async_futex); 222 231 if (frw->writers || frw->readers) {
Note:
See TracChangeset
for help on using the changeset viewer.