Ticket #14933: pthread_join_loop.patch
| File pthread_join_loop.patch, 720 bytes (added by , 9 years ago) |
|---|
-
src/VBox/Runtime/r3/linux/sched-linux.cpp
old new 321 321 * Wait for the thread to finish. 322 322 */ 323 323 void *pvRet = (void *)-1; 324 do 325 { 326 rc = pthread_join(Thread, &pvRet); 327 } while (errno == EINTR); 324 rc = pthread_join(Thread, &pvRet); 328 325 if (rc) 329 326 return RTErrConvertFromErrno(rc); 330 327 return (int)(uintptr_t)pvRet;

