01/21/2013 2:33 PM
post98705
|
Should pthread_cancel on a thread cause the destructor of objects that go out of scope to be called? That apparently
doesn't happen on QNX. It DOES happen on other platforms. Is there something I need to do (flag setting?) to make this
work. Example code is attached. I expected to get:
"In destructor" after the cancel, but that doesn't happen.
|
|
|