Skip to content
  • Anthony Léonard's avatar
    Fixed thread hanging at exit on Windows · ca616f05
    Anthony Léonard authored and Adrien Béraud's avatar Adrien Béraud committed
    This patch fix the problem where a thread is
    waiting alone on a condition variable when quitting
    Ring on Windows without any other thread to notify
    it. This is due to the way each compiler handle the
    destruction of static objects as it is left, on some
    points, undefined by the C++ standard.
    
    This is solved by joining threads earlier when the deamon
    is closing all its stuff.
    
    Change-Id: I219250be1fa08284ca0e92d68344c3cf69ad6af3
    Tuleap: #1276
    ca616f05