CMS 3D CMS Logo

hardware_pause Class Reference

#include <FWCore/Concurrency/interface/hardware_pause.h>

Detailed Description

Description: assembler instruction to allow a short pause

Usage: This hardware instruction tells the CPU to pause momentarily. This can be useful in the case where one is doing a 'spin lock' on a quantity that you expect to change within a few clock cycles.