Changes in uspace/lib/c/generic/fibril_synch.c [2654afb:5a5b087] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/fibril_synch.c
r2654afb r5a5b087 105 105 fibril_t *f = (fibril_t *) fibril_get_id(); 106 106 107 if (fibril_get_sercount() != 0) 108 abort(); 109 107 110 futex_down(&async_futex); 108 111 if (fm->counter-- <= 0) { … … 194 197 fibril_t *f = (fibril_t *) fibril_get_id(); 195 198 199 if (fibril_get_sercount() != 0) 200 abort(); 201 196 202 futex_down(&async_futex); 197 203 if (frw->writers) { … … 218 224 fibril_t *f = (fibril_t *) fibril_get_id(); 219 225 226 if (fibril_get_sercount() != 0) 227 abort(); 228 220 229 futex_down(&async_futex); 221 230 if (frw->writers || frw->readers) {
Note:
See TracChangeset
for help on using the changeset viewer.