VirtualBox

儲存庫 vbox 的更動 30935


忽略:
時間撮記:
2010-7-20 下午04:56:09 (14 年 以前)
作者:
vboxsync
訊息:

IPRT/RTSEMEVENT_MAGIC_DEAD: Undid the accidental killing of Gaiman! :-)

位置:
trunk/src/VBox/Runtime
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/include/internal/magics.h

    r30712 r30935  
    103103/** Magic for the event semaphore structure. (Neil Gaiman) */
    104104#define RTSEMEVENT_MAGIC                UINT32_C(0x19601110)
    105 /** Dead magic value for event semaphore structures. */
    106 #define RTSEMEVENT_MAGIC_DEAD           UINT32_C(0x19930517)
    107105/** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
    108106#define RTSEMEVENTMULTI_MAGIC           UINT32_C(0x19200102)
  • trunk/src/VBox/Runtime/r0drv/solaris/semevent-r0drv-solaris.c

    r30933 r30935  
    119119    ASMAtomicDecU32(&pThis->cRefs);
    120120
    121     pThis->u32Magic = RTSEMEVENT_MAGIC_DEAD; /* make the handle invalid */
     121    pThis->u32Magic = ~RTSEMEVENT_MAGIC; /* make the handle invalid */
    122122    if (pThis->cWaiters > 0)
    123123    {
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette