Hi,
How to use pthread_atfork() in qnx as fork() is supported only in single
threaded application in qnx ?
Thanking you in advance.
With Regards
Jitendra Sasmal
pthread_atfork()
Re: pthread_atfork()
Jitendra Sasmal <sasmal_jk@rediffmail.com> wrote:
generally don't need pthread_atfork().
What are you trying to accomplish?
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
Since fork() is only supported in a single-threaded application, youHi,
How to use pthread_atfork() in qnx as fork() is supported only in single
threaded application in qnx ?
generally don't need pthread_atfork().
What are you trying to accomplish?
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
Re: pthread_atfork()
Thank you very much !
Actually,after going through the documentation of pthread_atfork(),I was
trying to create a deadlock situation and to solve it using
pthread_atfork().
All this is for my information only.
With Regards
Jitendra Sasmal
David Gibbs wrote:
Actually,after going through the documentation of pthread_atfork(),I was
trying to create a deadlock situation and to solve it using
pthread_atfork().
All this is for my information only.
With Regards
Jitendra Sasmal
David Gibbs wrote:
Jitendra Sasmal <sasmal_jk@rediffmail.com> wrote:
Hi,
How to use pthread_atfork() in qnx as fork() is supported only in single
threaded application in qnx ?
Since fork() is only supported in a single-threaded application, you
generally don't need pthread_atfork().
What are you trying to accomplish?
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
Re: pthread_atfork()
David Gibbs <dagibbs@qnx.com> wrote:
DG > Jitendra Sasmal <sasmal_jk@rediffmail.com> wrote:
DG > generally don't need pthread_atfork().
I would suggest that the document page for pthread_atfork() be amended
to reflect the fact that this function can not actually be used in a
multi-threaded QNX6 system.
DG > Jitendra Sasmal <sasmal_jk@rediffmail.com> wrote:
DG > Since fork() is only supported in a single-threaded application, youHi,
How to use pthread_atfork() in qnx as fork() is supported only in single
threaded application in qnx ?
DG > generally don't need pthread_atfork().
I would suggest that the document page for pthread_atfork() be amended
to reflect the fact that this function can not actually be used in a
multi-threaded QNX6 system.
Re: pthread_atfork()
Bill Caroselli <qtps@earthlink.net> wrote:
appropriate handlers to be called.
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
But pthread_atfork() can be used... and, I'm pretty sure will cause theDavid Gibbs <dagibbs@qnx.com> wrote:
DG > Jitendra Sasmal <sasmal_jk@rediffmail.com> wrote:
Hi,
How to use pthread_atfork() in qnx as fork() is supported only in single
threaded application in qnx ?
DG > Since fork() is only supported in a single-threaded application, you
DG > generally don't need pthread_atfork().
I would suggest that the document page for pthread_atfork() be amended
to reflect the fact that this function can not actually be used in a
multi-threaded QNX6 system.
appropriate handlers to be called.
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
Re: pthread_atfork()
David Gibbs <dagibbs@qnx.com> wrote:
cburgess@qnx.com
Yes, but fork() itself will fail... :v)Bill Caroselli <qtps@earthlink.net> wrote:
David Gibbs <dagibbs@qnx.com> wrote:
DG > Jitendra Sasmal <sasmal_jk@rediffmail.com> wrote:
Hi,
How to use pthread_atfork() in qnx as fork() is supported only in single
threaded application in qnx ?
DG > Since fork() is only supported in a single-threaded application, you
DG > generally don't need pthread_atfork().
I would suggest that the document page for pthread_atfork() be amended
to reflect the fact that this function can not actually be used in a
multi-threaded QNX6 system.
But pthread_atfork() can be used... and, I'm pretty sure will cause the
appropriate handlers to be called.
---David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
cburgess@qnx.com