Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

#define VM_IS_EMT ( pVM   )     (VMR3GetVMCPUNativeThread(pVM) == RTThreadNativeSelf())

Checks if the current thread is the emulation thread (EMT).

The ring-0 variation will need attention if we expand the ring-0 code to let threads other than EMT mess around with the VM.
need to rework this macro for the case of multiple emulation threads for SMP

Definition at line 373 of file vm.h.

Referenced by DECLINLINE(), VMMGetCpu(), and VMMGetCpuId().

Generated by  Doxygen 1.6.0   Back to index