Lines Matching refs:_thread
84 #define _MD_INIT_CONTEXT(_thread, _sp, _main, status) \
87 if (sigsetjmp(CONTEXT(_thread),1)) { \
90 _MD_GET_SP(_thread) = (int) ((_sp) - 64); \
93 #define _MD_SWITCH_CONTEXT(_thread) \
94 if (!sigsetjmp(CONTEXT(_thread), 1)) { \
95 (_thread)->md.errcode = errno; \
102 #define _MD_RESTORE_CONTEXT(_thread) \
104 errno = (_thread)->osErrorCode; \
105 _MD_SET_CURRENT_THREAD(_thread); \
106 siglongjmp(CONTEXT(_thread), 1); \
193 #define _MD_CLEAN_THREAD(_thread)