REPLY block on 0?

What is the meaning of a process that is Reply blocked on 0? The process is a
normal (main) process that also starts one thread and spawns several other
processes.

Dean Douthat <ddouthat@faac.com> wrote:

What is the meaning of a process that is Reply blocked on 0?
The process is a normal (main) process that also starts one thread
and spawns several other processes.

I know that processes that are waiting for a child to complete
(that is they’ve called wait() or waitpid()) will be displayed
as REPLY on 0. That sounds like the most likely case for you as
you’re starting up children – did you start on of them P_WAIT?

-David

Also when process calls sleep(), its state is REPLY 0 during the
whole period.

Andy

David Gibbs <dagibbs@qnx.com> wrote:

Dean Douthat <> ddouthat@faac.com> > wrote:
What is the meaning of a process that is Reply blocked on 0?
The process is a normal (main) process that also starts one thread
and spawns several other processes.

I know that processes that are waiting for a child to complete
(that is they’ve called wait() or waitpid()) will be displayed
as REPLY on 0. That sounds like the most likely case for you as
you’re starting up children – did you start on of them P_WAIT?

-David

Andrej Lucny <andy@nod10.mstep> wrote:

Also when process calls sleep(), its state is REPLY 0 during the
whole period.

Ah, right that as well. This includes sleep(), nanosleep(), delay(),
and any other related functions.

-David

Andy

David Gibbs <> dagibbs@qnx.com> > wrote:
Dean Douthat <> ddouthat@faac.com> > wrote:
What is the meaning of a process that is Reply blocked on 0?
The process is a normal (main) process that also starts one thread
and spawns several other processes.

I know that processes that are waiting for a child to complete
(that is they’ve called wait() or waitpid()) will be displayed
as REPLY on 0. That sounds like the most likely case for you as
you’re starting up children – did you start on of them P_WAIT?

-David

OK, it was delay()

Thanks all for the help

Dean

In article <8v3phm$6m1$4@nntp.qnx.com>, dagibbs@qnx.com says…

Andrej Lucny <> andy@nod10.mstep> > wrote:
Also when process calls sleep(), its state is REPLY 0 during the
whole period.

Ah, right that as well. This includes sleep(), nanosleep(), delay(),
and any other related functions.

-David

Andy

David Gibbs <> dagibbs@qnx.com> > wrote:
Dean Douthat <> ddouthat@faac.com> > wrote:
What is the meaning of a process that is Reply blocked on 0?
The process is a normal (main) process that also starts one thread
and spawns several other processes.

I know that processes that are waiting for a child to complete
(that is they’ve called wait() or waitpid()) will be displayed
as REPLY on 0. That sounds like the most likely case for you as
you’re starting up children – did you start on of them P_WAIT?

-David