Changes in uspace/lib/c/generic/fibril.c [899342e:e0a4686] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/fibril.c
r899342e re0a4686 72 72 static void fibril_main(void) 73 73 { 74 /* fibril_futex is locked when a fibril is first started. */75 futex_unlock(&fibril_futex);76 77 74 fibril_t *fibril = __tcb_get()->fibril_data; 78 75 … … 214 211 } 215 212 213 futex_unlock(&fibril_futex); 214 216 215 #ifdef FUTEX_UPGRADABLE 217 216 if (stype == FIBRIL_FROM_DEAD) { … … 224 223 225 224 /* Restored by another fibril! */ 226 227 /* Must be after context_swap()! */228 futex_unlock(&fibril_futex);229 225 230 226 if (srcf->clean_after_me) {
Note:
See TracChangeset
for help on using the changeset viewer.