VirtualBox

Changeset 104390 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Apr 22, 2024 7:12:25 AM (9 months ago)
Author:
vboxsync
Message:

Runtime/thread-posix.cpp: Return the status of the actual request or the caller will assume the thread has spawned when thread creation failed (too small stack size for example), bugref:10391

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/thread-posix.cpp

    r99902 r104390  
    650650        int rc = RTReqQueueCall(g_hRTThreadPosixPriorityProxyQueue, &pReq, RT_INDEFINITE_WAIT,
    651651                                (PFNRT)rtThreadNativeInternalCreate, 2, pThread, pNativeThread);
     652        if (RT_SUCCESS(rc))
     653            rc = RTReqGetStatus(pReq);
    652654        RTReqRelease(pReq);
    653655        return 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