VirtualBox

vbox的更動 25748 路徑 trunk/src/VBox/Runtime/generic


忽略:
時間撮記:
2010-1-12 上午10:27:27 (15 年 以前)
作者:
vboxsync
訊息:

iprt/cdefs,*: Use RT_LOCK_STRICT and RT_LOCK_STRICT_ORDER for controlling deadlock detection and lock order validation. Currently both are disabled by default, but it's possible to add VBOX_WITH_STRICT_LOCKS=1 to LocalConfig.kmk to enable it all.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/generic/semrw-generic.cpp

    r25724 r25748  
    115115         * Create the semaphores.
    116116         */
    117         rc = RTSemEventCreate(&pThis->WriteEvent);
     117        rc = RTSemEventCreateEx(&pThis->WriteEvent, RTSEMEVENT_FLAGS_NO_LOCK_VAL, NIL_RTLOCKVALCLASS, NULL);
    118118        if (RT_SUCCESS(rc))
    119119        {
    120             rc = RTSemEventMultiCreate(&pThis->ReadEvent);
     120            rc = RTSemEventMultiCreateEx(&pThis->ReadEvent, RTSEMEVENT_FLAGS_NO_LOCK_VAL, NIL_RTLOCKVALCLASS, NULL);
    121121            if (RT_SUCCESS(rc))
    122122            {
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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