12#include "coro_select.h"
16#elif !defined(XTC_CORO_FCTX)
31#elif !defined(XTC_CORO_FCTX)
104 unsigned vg_stack_id;
108extern XTC_THREAD_LOCAL
struct xtc_coro *__xtc_current_coro;
111int __xtc_coro_step(xtc_task_t *self,
void *user);
121int __xtc_async_ex(xtc_loop_t *loop, xtc_coro_fn fn,
void *arg,
int pinned,
122 xtc_task_t **out_task);
127xtc_task_t *__xtc_current_task(
void);
131void __xtc_coro_stack_spare_fini(xtc_loop_t *loop);
138struct xtc_coro *__xtc_current_coro_get(
void);
150#define AWAIT_KILL_POLL(me, target) do { \
151 if (__xtc_fiber_kill_poll != NULL) { \
152 if ((target)->waiter == (me)->self) \
153 (target)->waiter = NULL; \
154 __xtc_fiber_kill_poll(); \