5 #ifndef __MONO_TASKLETS_H__
6 #define __MONO_TASKLETS_H__
10 #if !defined(ENABLE_NETCORE)
14 MonoNativeThreadId thread_id
;
17 /* the instruction pointer and stack to return to on Restore */
21 /* the saved stack information */
24 /* pointer to GC memory */
28 typedef void (*MonoContinuationRestore
) (MonoContinuation
*cont
, int state
, MonoLMF
**lmf_addr
);
30 void mono_tasklets_init (void);
31 void mono_tasklets_cleanup (void);
33 MonoContinuationRestore
mono_tasklets_arch_restore (void);
35 #endif /* ENABLE_NETCORE */
37 #endif /* __MONO_TASKLETS_H__ */