Changeset 8119363 in mainline for uspace/lib/c/generic/thread.c
- Timestamp:
- 2018-06-26T17:35:40Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6e569bf
- Parents:
- fbfe59d (diff), e768aea (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread.c
rfbfe59d r8119363 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.