php-pear-PHP_Fork-0.3.2-9.mga6.noarch.rpm


Advertisement

Description

php-pear-PHP_Fork - Horde alarm libraries

Property Value
Distribution Mageia 6.1
Repository Mageia Core x86_64
Package name php-pear-PHP_Fork
Package version 0.3.2
Package release 9.mga6
Package architecture noarch
Package type rpm
Installed size 52.28 KB
Download size 21.17 KB
Official Mirror distrib-coffee.ipsl.jussieu.fr
PHP_Fork class. Wrapper around the pcntl_fork() stuff
with a API set like Java language.
Practical usage is done by extending this class, and re-defining
the run() method.
[see basic example]
This way PHP developers can enclose logic into a class that extends
PHP_Fork, then execute the start() method that forks a child process.
Communications with the forked process is ensured by using a Shared Memory
Segment; by using a user-defined signal and this shared memory developers
can access to child process methods that returns a serializable variable.
The shared variable space can be accessed with the tho methods:
o void setVariable($name, $value)
o mixed getVariable($name)
$name must be a valid PHP variable name;
$value must be a variable or a serializable object.
Resources (db connections, streams, etc.) cannot be serialized and so
they're not correctly handled.
Requires PHP build with --enable-cli --with-pcntl --enable-shmop.
Only runs on *NIX systems, because Windows lacks of the pcntl ext.
@example browser_pool.php an interactive tool to perform multiple
cuncurrent request over an URL.
@example simple_controller.php shows how to attach a controller to started
pseudo-threads.
@example exec_methods.php shows a workaround to execute methods into the
child process.
@example passing_vars.php shows variable exchange between the parent
process and started pseudo-threads.
@example basic.php a basic example, only two pseudo-threads that increment
a counter simultaneously.

Alternatives

Package Version Architecture Repository
php-pear-PHP_Fork-0.3.2-9.mga6.noarch.rpm 0.3.2 noarch Mageia Core
php-pear-PHP_Fork - - -

Requires

Name Value
php-pear -

Provides

Name Value
pear(PHP/Fork.php) -
php-pear-PHP_Fork == 0.3.2-9.mga6

Download

Type URL
Binary Package php-pear-PHP_Fork-0.3.2-9.mga6.noarch.rpm
Source Package php-pear-PHP_Fork-0.3.2-9.mga6.src.rpm

Install Howto

  1. Enable Mageia Core repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install php-pear-PHP_Fork rpm package:
    # urpmi php-pear-PHP_Fork

Files

Path
/usr/share/doc/php-pear-PHP_Fork/
/usr/share/doc/php-pear-PHP_Fork/examples/basic.php
/usr/share/doc/php-pear-PHP_Fork/examples/browser_pool.php
/usr/share/doc/php-pear-PHP_Fork/examples/exec_methods.php
/usr/share/doc/php-pear-PHP_Fork/examples/passing_vars.php
/usr/share/doc/php-pear-PHP_Fork/examples/simple_controller.php
/usr/share/pear/PHP/Fork.php
/var/lib/pear/PHP_Fork.xml

Changelog

2016-02-08 - umeabot <umeabot> 0.3.2-9.mga6
+ Revision: 950481
- Mageia 6 Mass Rebuild
2014-11-05 - tv <tv> 0.3.2-8.mga5
+ Revision: 795682
- exclude deps from doc files
2014-10-15 - umeabot <umeabot> 0.3.2-7.mga5
+ Revision: 744464
- Second Mageia 5 Mass Rebuild
2014-10-01 - tv <tv> 0.3.2-6.mga5
+ Revision: 734160
- rebuild for pear deps
2014-09-16 - umeabot <umeabot> 0.3.2-5.mga5
+ Revision: 687429
- Mageia 5 Mass Rebuild
2014-02-04 - spuhler <spuhler> 0.3.2-4.mga5
+ Revision: 581718
+ rebuild (emptylog)
2014-02-02 - spuhler <spuhler> 0.3.2-3.1.mga5
+ Revision: 568602
- added Requires: php-pear
* needed for %post to succeed
2013-10-18 - umeabot <umeabot> 0.3.2-3.mga4
+ Revision: 517166
- Mageia 4 Mass Rebuild

See Also

Package Description
php-pear-PHP_Invoker-1.1.3-5.mga6.noarch.rpm Utility class for invoking callables with a timeout
php-pear-PHP_LexerGenerator-0.4.0-9.mga6.noarch.rpm translate lexer files in lex2php format into a PHP 5 lexer
php-pear-PHP_Shell-0.3.2-7.mga6.noarch.rpm An interactive PHP Shell
php-pear-PHP_Timer-1.0.5-5.mga6.noarch.rpm Utility class for timing
php-pear-PHP_TokenStream-1.2.2-4.mga6.noarch.rpm PEAR: Wrapper around PHP's tokenizer extension
php-pear-Pager-2.4.9-6.mga6.noarch.rpm Data paging class
php-pear-Payment_Clieop-0.2.0-5.mga6.noarch.rpm Create clieop03 file to send to Dutch Bank
php-pear-Payment_DTA-1.4.3-8.mga6.noarch.rpm Creates and reads DTA and DTAZV files containing money transaction data (Germany)
php-pear-RDF-0.2.0-5.mga6.noarch.rpm Port of the core RAP API
php-pear-SOAP-0.13.0-8.mga6.noarch.rpm Client/Server for PHP
php-pear-Science_Chemistry-1.1.2-5.mga6.noarch.rpm Manipulate chemical objects: atoms, molecules, etc
php-pear-Search_Mnogosearch-0.1.1-18.mga6.noarch.rpm Wrapper classes for the mnoGoSearch extention
php-pear-Services_Amazon-0.9.0-8.mga6.noarch.rpm PHP interface to Amazon Product Advertising API
php-pear-Services_Delicious-0.6.0-8.mga6.noarch.rpm Client for the del.icio.us web service
php-pear-Services_Ebay-0.13.1-8.mga6.noarch.rpm Interface to eBay's XML-API
Advertisement
Advertisement