Date:2013-07-19 20:29:51 (5 years 3 months ago)
Author:Paul Cercueil
Commit:ebce540dfcc8380c04e165775ef45bdf376a5d7f
Message:Exit the thread properly in the destructor of Monitor objects

Files: src/monitor.cpp (1 diff)

Change Details

src/monitor.cpp
9191
9292Monitor::~Monitor(void)
9393{
94    pthread_kill(thd, SIGINT);
94    pthread_cancel(thd);
95    pthread_join(thd, NULL);
9596}
9697#endif

Archive Download the corresponding diff file



interactive