Commit Graph

43 Commits

Author SHA1 Message Date
foobar
ad1ccd68eb typofix (thanks to Mehdi Achour for noticing this) 2004-01-23 07:02:15 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
f884a5b437 Kill unused variables. 2003-11-05 23:44:09 +00:00
George Schlossnagle
797ac80e7c Added pcntl_wait, a wraspper around wait()/wait3() 2003-10-28 17:08:18 +00:00
Marcus Boerger
733e90bf0a No dots at the end of error messages 2003-08-31 14:35:10 +00:00
Marcus Boerger
2a744ccb90 Fix format specifiers 2003-08-31 14:33:17 +00:00
Zeev Suraski
8767205afa Fix Win32 linkage problems 2003-08-31 12:41:53 +00:00
Andrey Hristov
f89e7e3fb9 proto fixes. 2003-06-22 14:33:09 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Ilia Alshanetsky
493633d16f Fixed compiler warnings. 2003-05-29 23:39:41 +00:00
Hartmut Holzgraefe
4b7c5cea4b proto and typo fixes 2003-05-20 13:35:13 +00:00
Ilia Alshanetsky
0503336ede Added pcntl_setpriority & pcntl_getpriority(). These functions can be used
to fetch and alter the priority of a process.
2003-02-18 01:41:06 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Marcus Boerger
a40ccefd32 php_error -> php_error_docref 2002-12-12 13:08:59 +00:00
Marcus Boerger
53309aace0 SIGIOT may not be defined in cygwin 2002-12-12 12:23:32 +00:00
Jason Greene
261a60a360 @Made major improvents to the pcntl extension(Jason):
@ - Greatly improved performance, by switching the signal callback mechanism
@   to use ticks
@ - Implemented object signal callback ability by using array($obj, $method)
@ - Added a restart parameter to pcntl_signal, which allows you to disable
@   the default of system call restarting
Changed callback hash table to be initialized and destroyed per reqeust
(allows the ability to use request life zvals as handles)
Nuked warnings
Modified test script to adjust to new ticks backend
Some slight WS fixes
2002-08-22 04:20:10 +00:00
Edin Kadribasic
3b3ec06ee7 Added function pcntl_alarm().
@- Added pctnl_alarm() function. (Edin)
2002-06-04 15:51:25 +00:00
Jason Greene
f30fefcb30 Fix invalid warning caused by bogus convert_to_* calls
Fix possible invalid data in status for pcntl_waitpid()
2002-05-06 23:01:46 +00:00
Jason Greene
4c9dbf9335 Fix type-o that broke ZTS build
Fix 3 nasty crash bugs that could occur if pcntl_exec's call to execve errored
2002-05-06 19:48:39 +00:00
Markus Fischer
be013212bc - Fix pcntl_waitpid() [Fixes #16766]. 2002-04-23 21:21:41 +00:00
Jason Greene
aab103e9fc Remove already included file 2002-03-17 19:41:24 +00:00
Markus Fischer
bfbb3bba1f - Fix some compiler warnings and errors. 2002-03-17 08:10:04 +00:00
Markus Fischer
9a6296c47e - WS and code style fix. 2002-03-16 22:31:57 +00:00
Markus Fischer
6c27722398 - Some more TSRMLS fixes. 2002-03-16 22:19:10 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Hartmut Holzgraefe
dda970500e proto fix 2002-01-04 14:08:25 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Egon Schmid
d3ea04bb66 Some protos fixed. 2001-11-08 22:11:41 +00:00
Derick Rethans
ea83d64507 - prototypes
#- Thanks to Zak for pointing this out during his talk
2001-11-08 20:23:33 +00:00
Stig Bakken
689252082c * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jason Greene
dc7d5df048 Add cleanup on an exec failure
Remove debug comments
2001-10-03 03:48:27 +00:00
Jason Greene
8a705b8cd9 @Added new function pcntl_exec, which behaves similar to execve. 2001-09-30 06:59:12 +00:00
Jason Greene
2b1fe64d46 Removed space type-o
Fixed WS
Added $Id$ tags
Removed already completed TODO from README
2001-07-30 20:51:57 +00:00
Jason Greene
40c7f09509 Fully implement new thread safe model.
Fix ws.
2001-07-30 19:40:29 +00:00
Zeev Suraski
c43806f415 Zend compatibility patch 2001-07-30 08:24:42 +00:00
Zeev Suraski
b0224d51da Zend compatibility patch 2001-07-30 05:36:18 +00:00
Jason Greene
14646bf08e Fix proto's and some ws ugliness 2001-07-06 06:00:51 +00:00
Jason Greene
0bfa63490d Added wait.h functionality to pcntl
Added tests for such functionality
Removed bogus files
2001-07-06 05:48:52 +00:00
Jason Greene
8f1f79fa7b *BSD doesn't have SIGPOLL or SIGPWR 2001-06-26 04:54:47 +00:00
Jason Greene
333b1bf9c8 Fix casting wierdness that broke compiled code with Sun CC.
(Also easier to read)
2001-06-25 17:56:23 +00:00
Jason Greene
351b78d87e Make pcntl async safe by registering as a zend extension and grabing the
statement handler. There could possibly be a more atomic hook in the future.
Also added simple TODO section to README.

NOTE: sleep() grabs SIGALRM on solaris, so
test-pcntl.php's alarm_handle function will not catch.
2001-06-19 21:42:57 +00:00
Jason Greene
5ae35781e3 Adding some ifdefs for better platform compatibility 2001-06-13 01:13:05 +00:00
Jason Greene
8b43f3222e @Added new experimental module pcntl (Process Control) (Jason)
Initial Import
2001-06-12 08:54:25 +00:00