|
|
@ -44,7 +44,7 @@ struct arch_context {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
extern __thread struct arch_context worker_thread_base_context;
|
|
|
|
extern __thread struct arch_context worker_thread_base_context;
|
|
|
|
|
|
|
|
|
|
|
|
/* Cannot be inlined because called in Assembly */
|
|
|
|
/* Cannot be inlined because called in assembly */
|
|
|
|
void __attribute__((noinline)) __attribute__((noreturn)) arch_context_mcontext_restore(void);
|
|
|
|
void __attribute__((noinline)) __attribute__((noreturn)) arch_context_mcontext_restore(void);
|
|
|
|
|
|
|
|
|
|
|
|
extern __thread volatile bool worker_thread_is_switching_context;
|
|
|
|
extern __thread volatile bool worker_thread_is_switching_context;
|
|
|
|