VirtualBox

Changeset 7539 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Mar 25, 2008 1:19:36 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29012
Message:

space

File:
1 edited

Legend:

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

    r7517 r7539  
    7575    if (cInits > 1)
    7676    {
    77         /* 
     77        /*
    7878         * This will fail if two (or more) threads race each other calling VbglR3Init.
    7979         * However it will work fine for single threaded or otherwise serialized
     
    8484#else
    8585        if (g_File == -1)
    86 #endif 
     86#endif
    8787            return VERR_INTERNAL_ERROR;
    8888        return VINF_SUCCESS;
     
    9292#else
    9393    if (g_File != -1)
    94 #endif 
     94#endif
    9595        return VERR_INTERNAL_ERROR;
    9696
     
    244244    /* PORTME - This is preferred over the RTFileIOCtl variant below, just be careful with the (int). */
    245245/** @todo test status code passing! */
    246    
    247246    int rc = xf86ioctl(g_File, iFunction, pvData);
    248247    if (rc == -1)
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