Bug #14648 Updated: pcntl_signal(SIGCHLD, SIG_IGN) does not follow expected behavior on linux
ID: 14648
Updated by: jason
Reported By: richard@phpguru.org
Old Status: Assigned
Status: Closed
Bug Type: Unknown/Other Function
Operating System: RHL 7.1
PHP Version: 4.1.0
Assigned To: jason
New Comment:
Unfortunately it appears that linux does not support SA_NOCLDWAIT,
which is the work around I was planning on implementing. If and when
they do add support for it, I will add support for it into pcntl.
Previous Comments:
------------------------------------------------------------------------
[2002-01-15 12:47:25] jason@php.net
Just wamted to give you an update that I have not had much time to work
on this lately, but I am planning on getting to it as soon as I can.
Thanks,
-Jason
------------------------------------------------------------------------
[2001-12-22 21:59:32] jason@php.net
This has to do with the fact that SIGCHLD+SIG_IGN was never in the
posix standard. I will need to write a workaround for this under linux.
Until that point, linux users must catch the handle and wait on the
child.
Have not reproduced the ordinal warning message yet, will investigate
...
------------------------------------------------------------------------
[2001-12-21 12:33:30] richard@phpguru.org
As requested by J Greene, a report for the fix of pcntl_signal on
Linux. Also the pcntl_signal() function
fails when giving a function with this error msg:
Warning: Cannot convert to ordinal value in
/raid/Files/Heyes-Computing/development/fork.test.php on line 25
/raid/Files/Heyes-Computing/development/fork.test.php(25) : Warning -
Cannot convert to ordinal value
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14648&edit=1
Thread (4 messages)