Changes in uspace/lib/c/generic/fibril.c [6d87dce:1558d85] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/fibril.c
r6d87dce r1558d85 114 114 fibril->waits_for = NULL; 115 115 116 /* 117 * We are called before __tcb_set(), so we need to use 118 * futex_down/up() instead of futex_lock/unlock() that 119 * may attempt to access TLS. 120 */ 121 futex_down(&fibril_futex); 116 futex_lock(&fibril_futex); 122 117 list_append(&fibril->all_link, &fibril_list); 123 futex_u p(&fibril_futex);118 futex_unlock(&fibril_futex); 124 119 125 120 return fibril;
Note:
See TracChangeset
for help on using the changeset viewer.