123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #ifndef _THREADPRIVATE_H_
- #define _THREADPRIVATE_H_
- struct thread;
- struct thread_machdep;
- struct switchframe;
- void thread_startup(void (*entrypoint)(void *data1, unsigned long data2),
- void *data1, unsigned long data2);
- void thread_machdep_init(struct thread_machdep *tm);
- void thread_machdep_cleanup(struct thread_machdep *tm);
- void switchframe_switch(struct switchframe **prev, struct switchframe **next);
- void switchframe_init(struct thread *,
- void (*entrypoint)(void *data1, unsigned long data2),
- void *data1, unsigned long data2);
- #endif
|