VirtualBox

vbox的更動 35877 路徑 trunk/src/VBox/Runtime/r3/posix


忽略:
時間撮記:
2011-2-7 下午02:56:24 (14 年 以前)
作者:
vboxsync
訊息:

thread-posix.cpp: Use THREAD_BASIC_INFO_COUNT like tstDarwinSched.cpp does.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/r3/posix/thread-posix.cpp

    r35876 r35877  
    444444
    445445#elif defined(RT_OS_DARWIN)
    446     thread_basic_info ThreadInfo;
    447     mach_msg_type_number_t Count = sizeof(ThreadInfo) / sizeof(int);
    448     kern_return_t krc;
    449 
    450     krc = thread_info(mach_thread_self(), THREAD_BASIC_INFO, (thread_info_t)&ThreadInfo, &Count);
     446    thread_basic_info       ThreadInfo;
     447    mach_msg_type_number_t  Count = THREAD_BASIC_INFO_COUNT;
     448    kern_return_t krc = thread_info(mach_thread_self(), THREAD_BASIC_INFO, (thread_info_t)&ThreadInfo, &Count);
    451449    AssertReturn(krc == KERN_SUCCESS, RTErrConvertFromDarwinKern(krc));
    452450
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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