12 #ifndef SSTMAC_SOFTWARE_THREADING_CONTEXT_UTIL_H_INCLUDED 13 #define SSTMAC_SOFTWARE_THREADING_CONTEXT_UTIL_H_INCLUDED 43 assert(
sizeof(
void*) <= (2*
sizeof(
int)));
58 void (*fpointer)(
void*);
65 assert(
sizeof(
void(*)(
void*)) <= (2*
sizeof(
int)));
78 "union functpr::call(const voidptr&): NULL function pointer");
88 int arg_ptr_a,
int arg_ptr_b);
Pack a void* argument into a pair of integers.
funcptr(void(*ptr)(void *))
void context_springboard(int func_ptr_a, int func_ptr_b, int arg_ptr_a, int arg_ptr_b)
Springboard routine to wrap a makecontext call.
Error indicating something was null and shouldn't have been.
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
void call(const voidptr &arg)
Pack a function pointer of the form void(*)(void*) as a pair of integers.
#define spkt_throw(exc,...)
A set of utilities to deal with the odd arguments to makecontext.