VirtualBox

Changeset 59158 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Dec 16, 2015 3:44:59 PM (9 years ago)
Author:
vboxsync
Message:

Runtime/linux,posix: pthread_join() does not set errno! Thanks GenyMobile (ticketref:14933)!

Location:
trunk/src/VBox/Runtime/r3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/linux/sched-linux.cpp

    r57358 r59158  
    325325        {
    326326            rc = pthread_join(Thread, &pvRet);
    327         } while (errno == EINTR);
     327        } while (rc == EINTR);
    328328        if (rc)
    329329            return RTErrConvertFromErrno(rc);
  • trunk/src/VBox/Runtime/r3/posix/sched-posix.cpp

    r57358 r59158  
    401401                    {
    402402                        rc = pthread_join(Thread, &pvRet);
    403                     } while (errno == EINTR);
     403                    } while (rc == EINTR);
    404404                    if (rc)
    405405                        return RTErrConvertFromErrno(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