Changeset 899342e in mainline
- Timestamp:
- 2018-06-11T18:07:59Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a55d76b1
- Parents:
- ec39720
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/fibril.c
rec39720 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.