Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Adam Saponara
3e274018f8
Fix segfault in pcntl_signal_handler
(bug #73939 )
2017-01-15 06:44:04 +00:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
David Walker
f64388e8c1
pnctl_signal(): add siginfo to handler args
...
Feature will utilize already available siginfo parsing
and extend the handler for signals to provide an array
of the siginfo_t data.
RFC:https://wiki.php.net/rfc/additional-context-in-pcntl-signal-handler
2016-07-07 09:43:18 -06:00
David Walker
217dcbcd91
Fix #72409 - return previous handler
...
This patch addresses https://bugs.php.net/bug.php?id=72409
This patch is applied to master compared to PR#1952 which was
patching 5.6.x branch of PHP
This patch takes into account discussions on PR #1978
Addressing that rather than have pcntl_signal() return a value
to create a new function that can be used to get the current
value of the signal handler.
2016-07-06 13:57:37 -05:00
Dmitry Stogov
c03ccfe78d
Asynchronous signal handling without TICKs.
...
Squashed commit of the following:
commit eda931df18
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jul 6 10:53:30 2016 +0300
Replace pcntl.async_signals INI direcrive with pcntl_async_signals() function.
commit bfbf7dd7c2
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jun 24 12:25:31 2016 +0300
Asynchronous signal handling without TICKs.
2016-07-06 13:11:47 +03:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Matteo Beccati
6b3e44369d
Fixed bug #70386 Can't compile on NetBSD because of missing WCONTINUED
...
since 90114a3e93
2015-08-29 08:07:45 +02:00
Anatol Belski
19360f386e
cleanup mod version macros, round 3
2015-03-23 20:54:55 +01:00
julien.pons
90114a3e93
Add wifcontinued and wcontinued for pcntl
2015-03-17 10:59:58 +01:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Julien Pauli
8ff4abb468
Merge branch 'PHP-5.6'
...
* PHP-5.6:
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
2014-12-12 18:24:29 +01:00
Jille Timmermans
9beb3763db
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
2014-12-12 18:16:12 +01:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
1a5a113f95
ported pcntl
2014-08-19 19:08:41 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Arnaud Le Blanc
a9507474e3
Fix bug #52173 (ext/pcntl doesn't store/report errors) (patch
...
by nick dot telford at gmail dot com)
2010-11-01 20:10:17 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Jani Taskinen
c71ea248bd
MFH
2008-08-05 15:12:19 +00:00
Arnaud Le Blanc
c58e2b9d20
MFH: Added pcntl_sigwaitinfo(), pcntl_sigtimedwait() and pcntl_sigprocmask()
...
[DOC] pcntl_sigprocmask() allows to block signals. pcntl_sigwaitinfo()
allows to fetch blocked signals or signals delivered while pcntl_sigwaitinfo()
is running. pcntl_sigtimedwait() is pcntl_sigwaitinfo() with a timeout.
2008-07-29 16:59:10 +00:00
Arnaud Le Blanc
204fcbe5d3
MFH: Added pcntl_signal_dispatch()
...
[DOC] pcntl_signal_dispatch() allows to dispatch pending signals to registered
signal handler functions on-demand. This allows to use pcntl_signal() without
ticks.
2008-07-29 16:46:11 +00:00
Nuno Lopes
61eb7ae554
remove unused PHP_EXTNAME_API macros.
...
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Wez Furlong
660afcaef4
MFB: Fix for #32974
2005-05-07 14:58:12 +00:00
Derick Rethans
52d6a64efa
- Fixed bug #29873 (No defines around pcntl_*priority definitions).
2004-08-28 12:20:06 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
George Schlossnagle
797ac80e7c
Added pcntl_wait, a wraspper around wait()/wait3()
2003-10-28 17:08:18 +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
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
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
Markus Fischer
9a6296c47e
- WS and code style fix.
2002-03-16 22:31:57 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +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