don't destroy app communication server in main() destructor
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 9 Mar 2010 04:54:40 +0000 (23:54 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 9 Mar 2010 04:59:59 +0000 (23:59 -0500)
commitfc253ce0fd26aa660b249013f4c802e54eefc0e9
tree97966f58c7cf756ab45e3c9b1501e3d6a8de2b47
parent753e1b51796c2233b6ddecdf751400f9b2cddc9f
don't destroy app communication server in main() destructor

When doing this, it is likely the listener thread will still
be running and printing errors because its fd's have been closed.
Instead, do the destruction in the listener app and cleanly
shut it down with pthread_cancel().
libust/tracectl.c
This page took 0.025175 seconds and 4 git commands to generate.