Changeset 95838f1 in mainline for uspace/lib/c/generic/fibril.c


Ignore:
Timestamp:
2018-06-25T21:45:15Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
38e3427
Parents:
3679f51a
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-25 20:58:01)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-25 21:45:15)
Message:

Switch async_futex to using futex_lock/unlock.

File:
1 edited

Legend:

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

    r3679f51a r95838f1  
    7979        fibril->retval = fibril->func(fibril->arg);
    8080
    81         futex_down(&async_futex);
     81        futex_lock(&async_futex);
    8282        fibril_switch(FIBRIL_FROM_DEAD);
    8383        /* Not reached */
Note: See TracChangeset for help on using the changeset viewer.