1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-30 04:39:01 +01:00

Deprecate classes using ext-pthreads

See https://github.com/krakjoe/pthreads/issues/929
This commit is contained in:
Aaron Piotrowski 2020-02-04 13:42:47 -06:00
parent d6f29249db
commit 72dd3a495f
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB
3 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,8 @@ use function Amp\call;
* The thread context is not itself threaded. A local instance of the context is
* maintained both in the context that creates the thread and in the thread
* itself.
*
* @deprecated ext-pthreads development has been halted, see https://github.com/krakjoe/pthreads/issues/929
*/
final class Thread implements Context
{

View File

@ -9,6 +9,8 @@ use function Amp\call;
/**
* A thread-safe container that shares a value between multiple threads.
*
* @deprecated ext-pthreads development has been halted, see https://github.com/krakjoe/pthreads/issues/929
*/
final class ThreadedParcel implements Parcel
{

View File

@ -8,6 +8,8 @@ use Amp\Promise;
/**
* A worker thread that executes task objects.
*
* @deprecated ext-pthreads development has been halted, see https://github.com/krakjoe/pthreads/issues/929
*/
final class WorkerThread extends TaskWorker
{