VirtualBox

Changeset 49459 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 13, 2013 11:03:20 AM (11 years ago)
Author:
vboxsync
Message:

Main: fixed race

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/HostDnsServiceLinux.cpp

    r49268 r49459  
    167167    AssertComRCReturnRC(hrc);
    168168
     169    rc = RTSemEventCreate(&g_DnsInitEvent);
     170    AssertRCReturn(rc, E_FAIL);
     171
    169172    int rc = RTThreadCreate(&g_DnsMonitoringThread, HostDnsServiceLinux::hostMonitoringRoutine,
    170173                            this, 128 * _1K, RTTHREADTYPE_IO, 0, "dns-monitor");
    171     AssertRCReturn(rc, E_FAIL);
    172 
    173     rc = RTSemEventCreate(&g_DnsInitEvent);
    174174    AssertRCReturn(rc, E_FAIL);
    175175
Note: See TracChangeset for help on using the changeset viewer.

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