12 #ifndef SSTMAC_SOFTWARE_THREADING_THREADING_INTERFACE_H_INCLUDED 13 #define SSTMAC_SOFTWARE_THREADING_THREADING_INTERFACE_H_INCLUDED 41 void *stack,
size_t stacksize,
void virtual threading_interface * copy()=0
virtual void init_context()=0
virtual void complete_context(threading_interface *to)=0
This is called when we have completed running the thread.
virtual void destroy_context()=0
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual void start_context(int physical_thread_id, void *stack, size_t stacksize, void(*func)(void *), void *args, threading_interface *yield_to)=0
Start a new context.
virtual ~threading_interface()
virtual void swap_context(threading_interface *to)=0
Swap context.