Threadable Versions Save

Easy-to-use threading library providing all basic features to perform work in background mode (with simulation mode).

0.0.6

5 years ago

Added simulation mode for testing purposes and when pcntl extension is not available

0.0.5

6 years ago
  • Added BackgroundWork::doInBackgroundParallel() as opposite for doInBackground() to parallel working.
  • Updated examples using BackgroundWork.
  • Updated callback signature for BackgroundWork::doInBackground(), added worker instance: (Worker $worker, int $payloadI, $payloadData).
  • Added Worker::getCurrentPayload(): int
  • Added WorkersPool::getRunningWorkers(): Worker[]

0.0.4

6 years ago
  • Add BackgroundWork class.

0.0.3

6 years ago

Change signature of sendPayload() and onPayload() methods (remove array type-hint in $payload argument).

0.0.2

6 years ago
  • Updated DownloadWorker
  • Add tests
  • Add returning result from worker in checkForFinish().

0.0.1

6 years ago

First release.