Changeset 22150 in vbox for trunk/include
- Timestamp:
- Aug 11, 2009 9:41:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/thread.h
r21536 r22150 472 472 typedef struct RTTHREADPREEMPTSTATE 473 473 { 474 /** In debug builds this will be used to check for cpu migration. */ 475 RTCPUID idCpu; 474 476 #ifdef RT_OS_WINDOWS 475 477 /** The old IRQL. Don't touch. */ 476 unsigned char uchOldIrql; 477 # define RTTHREADPREEMPTSTATE_INITIALIZER { 255 } 478 unsigned char uchOldIrql; 479 /** Reserved, MBZ. */ 480 uint8_t bReserved1; 481 /** Reserved, MBZ. */ 482 uint8_t bReserved2; 483 /** Reserved, MBZ. */ 484 uint8_t bReserved3; 485 # define RTTHREADPREEMPTSTATE_INITIALIZER { NIL_RTCPUID, 255, 0, 0, 0 } 478 486 #else 479 /** Dummy unused placeholder. */480 u nsigned char uchDummy;481 # define RTTHREADPREEMPTSTATE_INITIALIZER { 0 }487 /** Reserved, MBZ. */ 488 uint32_t u32Reserved; 489 # define RTTHREADPREEMPTSTATE_INITIALIZER { NIL_RTCPUID, 0 } 482 490 #endif 483 491 } RTTHREADPREEMPTSTATE;
Note:
See TracChangeset
for help on using the changeset viewer.