VirtualBox

Changeset 29761 in vbox


Ignore:
Timestamp:
May 24, 2010 3:46:45 PM (15 years ago)
Author:
vboxsync
Message:

VBoxService: FreeBSD doesn't know ERESTART and according to the man page sigwait doesn't return EINTR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r29647 r29761  
    456456
    457457    int rc;
     458#ifndef RT_OS_FREEBSD
    458459    do
    459460    {
     
    463464    while (   rc == EINTR
    464465           || rc == ERESTART);
     466#else
     467    iSignal = -1;
     468    rc = sigwait(&signalMask, &iSignal);
     469#endif
    465470
    466471    VBoxServiceVerbose(3, "VBoxServiceWaitSignal: Received signal %d (rc=%d)\n", iSignal, rc);
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