Changeset 3679f51a in mainline for uspace/lib/c/generic/thread.c
- Timestamp:
- 2018-06-25T20:41:09Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 95838f1
- Parents:
- d73d992
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-25 20:30:35)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-25 20:41:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread.c
rd73d992 r3679f51a 48 48 #include "private/fibril.h" 49 49 50 #ifdef FUTEX_UPGRADABLE51 #include <rcu.h>52 #endif53 54 55 50 /** Main thread function. 56 51 * … … 69 64 70 65 __tcb_set(fibril->tcb); 71 72 #ifdef FUTEX_UPGRADABLE73 rcu_register_fibril();74 futex_upgrade_all_and_wait();75 #endif76 66 77 67 uarg->uspace_thread_function(uarg->uspace_thread_arg); … … 85 75 /* If there is a manager, destroy it */ 86 76 async_destroy_manager(); 87 88 #ifdef FUTEX_UPGRADABLE89 rcu_deregister_fibril();90 #endif91 77 92 78 fibril_teardown(fibril, false);
Note:
See TracChangeset
for help on using the changeset viewer.