Changes in uspace/lib/c/generic/thread.c [76d0981d:3679f51a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread.c
r76d0981d r3679f51a 46 46 #include <as.h> 47 47 #include "private/thread.h" 48 49 #ifdef FUTEX_UPGRADABLE 50 #include <rcu.h> 51 #endif 52 48 #include "private/fibril.h" 53 49 54 50 /** Main thread function. … … 68 64 69 65 __tcb_set(fibril->tcb); 70 71 #ifdef FUTEX_UPGRADABLE72 rcu_register_fibril();73 futex_upgrade_all_and_wait();74 #endif75 66 76 67 uarg->uspace_thread_function(uarg->uspace_thread_arg); … … 84 75 /* If there is a manager, destroy it */ 85 76 async_destroy_manager(); 86 87 #ifdef FUTEX_UPGRADABLE88 rcu_deregister_fibril();89 #endif90 77 91 78 fibril_teardown(fibril, false);
Note:
See TracChangeset
for help on using the changeset viewer.