8000 GitHub - jimbojsb/workman: PHP Process Forking & Daemonizing Library · GitHub
[go: up one dir, main page]

Skip to content
jimbojsbPublic

About

PHP Process Forking & Daemonizing Library

Resources

Stars

59 stars

Watchers

8 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

Build Status

<?php
require_once __DIR__ . '/vendor/autoload.php';
$callback = function($arg1) {
    echo getmypid() . ": " . $arg1 . "\n";
};

$callbackQueue = new Workman\CallbackQueue($callback);
for ($c = 0; $c < 100000; $c++) {
    $callbackQueue->push([$c]);
}
$callbackQueue->work(7);

About

PHP Process Forking & Daemonizing Library

Resources

Stars

59 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0