Lines Matching defs:curthrd
640 #define THR_LOCK(curthrd) THR_LOCK_ACQUIRE(curthrd, &(curthrd)->lock)
641 #define THR_UNLOCK(curthrd) THR_LOCK_RELEASE(curthrd, &(curthrd)->lock)
642 #define THR_THREAD_LOCK(curthrd, thr) THR_LOCK_ACQUIRE(curthrd, &(thr)->lock)
643 #define THR_THREAD_UNLOCK(curthrd, thr) THR_LOCK_RELEASE(curthrd, &(thr)->lock)
645 #define THREAD_LIST_RDLOCK(curthrd) \
647 (curthrd)->locklevel++; \
651 #define THREAD_LIST_WRLOCK(curthrd) \
653 (curthrd)->locklevel++; \
657 #define THREAD_LIST_UNLOCK(curthrd) \
660 (curthrd)->locklevel--; \
661 _thr_ast(curthrd); \