5 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
8 Define the portable version of the execution context.
12 #include <sys/cdefs.h>
15 /* XXX Need to include the CPU specific version. */
16 typedef struct __mcontext
21 typedef struct __ucontext
23 mcontext_t uc_mcontext
;
25 struct __ucontext
*uc_link
;
32 int getcontext(ucontext_t
*ucp
);
33 int setcontext(const ucontext_t
*ucp
);
34 void makecontext(ucontext_t
*ucp
, void (*function
)(), int argc
, ...);
35 int swapcontext(ucontext_t
*oucp
, const ucontext_t
*nucp
);
39 #endif /* _UCONTEXT_H_ */