root [2] bla->AddConnection()
tws reader thread started
root [3]
So, the TThread starts and stops immediately, where the pthread keeps on running. Am I missing something trivial? Under the hood, TThread is simply calling pthread, isn’t it?
I attached the debugger to shed some light on this subject.
Apparently, if I put a breakpoint on any of the lines between
if (!ierr) th->fId = (Long_t) id ;
in TPosixThread.cxx and
SetComment() ;
in TThread.cxx, the code runs fine. Outside of this region, breakpoints have no effect whatsoever. Based on this observation, I doubt if I am able to provide a small example. For the moment I’ll move back to the pthread code…