VirtualBox

忽略:
時間撮記:
2013-1-30 上午10:59:47 (12 年 以前)
作者:
vboxsync
訊息:

Runtime: add unobtrusive initialisation option which does not block SIGALRM.

檔案:
修改 1 筆資料

圖例:

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

    r40317 r44456  
    100100static char **              g_papszrtOrgArgs;
    101101
     102/** Are we running in unobtrusive mode? */
     103static bool                 g_fUnobtrusive = false;
     104
    102105/**
    103106 * Program start nanosecond TS.
     
    341344#endif
    342345
     346    g_fUnobtrusive = fFlags & RTR3INIT_FLAGS_UNOBTRUSIVE;
     347
    343348#if !defined(IN_GUEST) && !defined(RT_NO_GIP)
    344349# ifdef VBOX
     
    484489{
    485490    /* no entry log flow, because prefixes and thread may freak out. */
    486     Assert(!(fFlags & ~(RTR3INIT_FLAGS_DLL | RTR3INIT_FLAGS_SUPLIB)));
     491    Assert(!(fFlags & ~(  RTR3INIT_FLAGS_DLL
     492                        | RTR3INIT_FLAGS_SUPLIB
     493                        | RTR3INIT_FLAGS_UNOBTRUSIVE)));
    487494    Assert(!(fFlags & RTR3INIT_FLAGS_DLL) || cArgs == 0);
    488495
     
    558565}
    559566
     567RTR3DECL(bool) RTR3InitIsUnobtrusive(void)
     568{
     569    return g_fUnobtrusive;
     570}
    560571
    561572#if 0 /** @todo implement RTR3Term. */
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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