[CentOS] wait() fails
Michael Ubell
ubell at sleepycat.comWed Nov 30 19:13:52 UTC 2005
- Previous message: [CentOS] X windows is taking 99 percent of cpu
- Next message: [CentOS] gdb segfault under ddd
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a program that forks a child, sleeps for a while and then kills the child and waits for it. On CentOs (4) the wait sometimes fails with a "No child" error. I have not seen this on any other system. This program has been running for years on Solaris, older Redhat distributions, etc. I would say the failure rate is about 1 in 10. I put a breakpoint on the error and forced the code to wait again. It works the second time. Is this a known bug? Mike
- Previous message: [CentOS] X windows is taking 99 percent of cpu
- Next message: [CentOS] gdb segfault under ddd
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list