Y
YIELD
✅ Yield hint. A hint to the hardware/scheduler that the current thread is in a busy-wait spin loop and could benefit from yielding execution resources (e.g. on an SMT core).
✅ 양보 힌트. 현재 스레드가 바쁜 대기(spin loop) 상태이며 실행 자원을 양보하면 도움이 될 수 있다는 힌트를 하드웨어/스케줄러에 전달합니다(SMT 코어 등에서 유효).
Syntax
YIELD
Example
YIELD // 스핀락 재시도 루프 안에서 사용
🔗