C++ (Qt)void run(){ forever { // some operation }}
C++ (Qt)void run(){ forever { // some operation sleep(2); }}
typedef struct _CONTEXT812 {813 DWORD ContextFlags;814 815 /* These are selected by CONTEXT_DEBUG_REGISTERS */816 DWORD Dr0;817 DWORD Dr1;818 DWORD Dr2;819 DWORD Dr3;820 DWORD Dr6;821 DWORD Dr7;822 823 /* These are selected by CONTEXT_FLOATING_POINT */824 FLOATING_SAVE_AREA FloatSave;825 826 /* These are selected by CONTEXT_SEGMENTS */827 DWORD SegGs;828 DWORD SegFs;829 DWORD SegEs;830 DWORD SegDs;831 832 /* These are selected by CONTEXT_INTEGER */833 DWORD Edi;834 DWORD Esi;835 DWORD Ebx;836 DWORD Edx;837 DWORD Ecx;838 DWORD Eax;839 840 /* These are selected by CONTEXT_CONTROL */841 DWORD Ebp;842 DWORD Eip;843 DWORD SegCs;844 DWORD EFlags;845 DWORD Esp;846 DWORD SegSs;847 848 BYTE ExtendedRegisters[MAXIMUM_SUPPORTED_EXTENSION];849 } CONTEXT;