SST/macro
|
#include <threading_interface.h>
Public Member Functions | |
virtual | ~threading_interface () |
virtual threading_interface * | copy ()=0 |
virtual void | init_context ()=0 |
virtual void | destroy_context ()=0 |
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. More... | |
virtual void | swap_context (threading_interface *to)=0 |
Swap context. More... | |
virtual void | complete_context (threading_interface *to)=0 |
This is called when we have completed running the thread. More... | |
Definition at line 24 of file threading_interface.h.
|
inlinevirtual |
Definition at line 27 of file threading_interface.h.
References complete_context(), copy(), destroy_context(), init_context(), start_context(), and swap_context().
|
pure virtual |
This is called when we have completed running the thread.
It is called in the from context.
Implemented in sstmac::sw::threading_pth.
Referenced by ~threading_interface().
|
pure virtual |
Implemented in sstmac::sw::threading_pth.
Referenced by ~threading_interface().
|
pure virtual |
Implemented in sstmac::sw::threading_pth.
Referenced by ~threading_interface().
|
pure virtual |
Implemented in sstmac::sw::threading_pth.
Referenced by ~threading_interface().
|
pure virtual |
Start a new context.
Implemented in sstmac::sw::threading_pth.
Referenced by ~threading_interface().
|
pure virtual |