Home | History | Annotate | Download | only in md

Lines Matching refs:_thread

67 #define CONTEXT(_thread) (&(_thread)->md.context)
84 #define _MD_SWITCH_CONTEXT(_thread) \
85 if (!getcontext(CONTEXT(_thread))) { \
86 (_thread)->md.errcode = errno; \
93 #define _MD_RESTORE_CONTEXT(_thread) \
95 ucontext_t *uc = CONTEXT(_thread); \
98 errno = (_thread)->md.errcode; \
99 _MD_SET_CURRENT_THREAD(_thread); \
185 #define _MD_CLEAN_THREAD(_thread)