Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/fibril.c

    r899342e re0a4686  
    7272static void fibril_main(void)
    7373{
    74         /* fibril_futex is locked when a fibril is first started. */
    75         futex_unlock(&fibril_futex);
    76 
    7774        fibril_t *fibril = __tcb_get()->fibril_data;
    7875
     
    214211        }
    215212
     213        futex_unlock(&fibril_futex);
     214
    216215#ifdef FUTEX_UPGRADABLE
    217216        if (stype == FIBRIL_FROM_DEAD) {
     
    224223
    225224        /* Restored by another fibril! */
    226 
    227         /* Must be after context_swap()! */
    228         futex_unlock(&fibril_futex);
    229225
    230226        if (srcf->clean_after_me) {
Note: See TracChangeset for help on using the changeset viewer.