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