f



some questions about times function

Dear all:
I have some questions about times.
As far as I know, times will "get process and waited-for child
process
times".
so if the child is not finish or dead, this function will cause the
deadlock, right?
appreciate your help,
miloody
0
miloody (44)
12/9/2010 3:11:27 PM
comp.unix.programmer 10837 articles. 0 followers. kokososo56 (349) is leader. Post Follow

1 Replies
337 Views

Similar Articles

[PageSpeed] 55

miloody wrote:

> As far as I know, times will "get process and waited-for child
> process
> times".
> so if the child is not finish or dead, this function will cause the
> deadlock, right?

No, it just means that the child time values returned by times()
do not include the times of children that have not been waited for.

-- 
Geoff Clare <netnews@gclare.org.uk>

0
geoff31 (378)
12/13/2010 1:16:22 PM
Reply: