Daniel Orozco
|
RE: QNX Thread Destruction
|
Daniel Orozco
10/13/2009 1:49 PM
post39802
|
RE: QNX Thread Destruction
Hi Steve,
I am using Neutrino. I'll post the question in a different forum. I'll also use the Sys Analysis Toolkit and Sys
Profiler as you suggested.
Thanks for pointing me in the right direction!
Regards,
Dan Orozco
Software Engineer
SRC - Systems Technology Center
dorozco@syrres.com
-----Original Message-----
From: Steve Reid [mailto:community-noreply@qnx.com]
Sent: Tuesday, October 13, 2009 1:35 PM
To: qnx4-community
Subject: RE: QNX Thread Destruction
Are you using QNX 4 or Neutrino? QNX 4 doesn't support real threads, and
I don't think it implemented pthread_create().
If you really are using Neutrino, you might want to post your questions
in a different forum. However, I don't think there are any documents
that describe exactly what happens when a thread is destroyed. If you
use the System Analysis Toolkit and the IDE's System Profiler, you can
see some cleanup events flying around.
Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems
> -----Original Message-----
> From: Daniel Orozco [mailto:community-noreply@qnx.com]
> Sent: Saturday, October 10, 2009 2:35 PM
> To: qnx4-community
> Subject: QNX Thread Destruction
>
> Questions:
>
> 1. What exactly happens when a thread is destroyed?
> 2. Which QNX document supports the answer to question 1? I'm
> interested in seeing what else it has.
>
> Contex:
>
> An application process is executed which creates a helper
> thread. The helper thread executes its routine and then just
> returns from that routine. It appears that at least one
> object utilized by the thread has its destructor invoked. The
> object belongs to a pointer member of a struct. That struct
> is passed to pthread_create().
>
> I was surprised to learn that the object's destructor was
> invoked. So I'd like to better understand exactly what goes
> on during thread destruction.
>
> Thanks for your insights!
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39712
>
>
_______________________________________________
QNX4 Community Support
http://community.qnx.com/sf/go/post39800
|
|
|