Giter VIP home page Giter VIP logo

php-multitasking's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-multitasking's Issues

won't find the class

With the simple example i'm getting this:
Fatal error: Uncaught Error: Class 'BackgroundWorkerManager' not found in /var/www/html/test/multitasking1/t.php:3
Stack trace:
#0 {main}
thrown in /var/www/html/test/multitasking1/t.php on line 3

first 3 lines:

Disable NOTICE

Hi How do you go about disabling the Notice?

[22852] 20160919-130442 +01:00 | NOTICE | Process #22854 has quit with code 0 (BackgroundWorkerManager.php:75)

Help

Hi Wondered if you could help me. Trying to use you php-multitasking code to try and replace some processParallel code with uses pcntl_fork and keep getting defunct

addWorker( function (WorkerInfo $info) { echo "hello"; }, 10 ); // add 10 workers to the manager $man->run(); // all workers will be executed in order, no more than 2 workes will be running at the same time $man->wait(); i keep getting PHP Catchable fatal error: Argument 1 passed to {closure}() must be an instance of WorkerInfo, instance of Oasis\Mlib\Multitasking\WorkerInfo given in how do i get this to say hello 10 times. many thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.