This is threads.h in view mode; [Download] [Up]
#ifndef _THREAD_H_ #import <mach/i386/thread_status.h> #define REGS_STATE i386_THREAD_STATE #define REGS_STRUCT i386_thread_state_t #define REGS_COUNT i386_THREAD_STATE_COUNT #define PC_FIELD(regsState) ((regsState).eip) #define FP_REGS_STATE i386_THREAD_FPSTATE #define FP_REGS_STRUCT i386_thread_fpstate_t #define FP_REGS_COUNT i386_THREAD_FPSTATE_COUNT #define USER_REG_STATE i386_THREAD_CTHREADSTATE #define USER_REG_STRUCT i386_thread_cthreadstate_t #define USER_REG_COUNT i386_THREAD_CTHREADSTATE_COUNT #define USER_REG(userRegState) ((userRegState).self) #define TRACE_STATE REGS_STATE #define TRACE_STRUCT REGS_STRUCT #define TRACE_COUNT REGS_COUNT #define TRACE_BIT_SET(traceState) (traceState.eflags & 0x100) #define SET_TRACE_BIT(traceState) (traceState.eflags |= 0x100) #define CLEAR_TRACE_BIT(traceState) (traceState.eflags &= ~0x100) #define _THREAD_H_ #endif /* !_THREAD_H_ */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.