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