posix_setrlimit (patch attached)
| From: | Marcin Gibuła | Date: | Tue, 24 Aug 2004 18:56:45 +0000 |
| Subject: | posix_setrlimit (patch attached) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-12333@lists.php.net to get a copy of this message | ||
Hi,
this patch adds posix_setrlimit function (in posix extension), which can be
useful in standalone apps to lower your resources limits (for example cpu
limit).
Example usage is:
<?php
$a = array('cpu' => array('1', '3'));
posix_setrlimit($a);
?>
Could you review it and consider to apply if it's ok?
--
mg
Attachment: [text/x-diff] posix_setrlimit.diff
Attachment: [text/x-diff] posix_setrlimit.diff