Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Introduction »
« parallel\Sync::__invoke
PHP Manual
Function Reference
Process Control Extensions
Change language:
English
Chinese (Simplified)
Other
pthreads
Introduction
Installing/Configuring
Requirements
Installation
Runtime Configuration
Predefined Constants
Threaded
— The Threaded class
Threaded::chunk
— Manipulation
Threaded::count
— Manipulation
Threaded::extend
— Runtime Manipulation
Threaded::isRunning
— State Detection
Threaded::isTerminated
— State Detection
Threaded::merge
— Manipulation
Threaded::notify
— Synchronization
Threaded::notifyOne
— Synchronization
Threaded::pop
— Manipulation
Threaded::run
— Execution
Threaded::shift
— Manipulation
Threaded::synchronized
— Synchronization
Threaded::wait
— Synchronization
Thread
— The Thread class
Thread::getCreatorId
— Identification
Thread::getCurrentThread
— Identification
Thread::getCurrentThreadId
— Identification
Thread::getThreadId
— Identification
Thread::isJoined
— State Detection
Thread::isStarted
— State Detection
Thread::join
— Synchronization
Thread::start
— Execution
Worker
— The Worker class
Worker::collect
— Collect references to completed tasks
Worker::getStacked
— Gets the remaining stack size
Worker::isShutdown
— State Detection
Worker::shutdown
— Shutdown the worker
Worker::stack
— Stacking work
Worker::unstack
— Unstacking work
Collectable
— The Collectable interface
Collectable::isGarbage
— Determine whether an object has been marked as garbage
Pool
— The Pool class
Pool::collect
— Collect references to completed tasks
Pool::__construct
— Creates a new Pool of Workers
Pool::resize
— Resize the Pool
Pool::shutdown
— Shutdown all workers
Pool::submit
— Submits an object for execution
Pool::submitTo
— Submits a task to a specific worker for execution
Volatile
— The Volatile class
Improve This Page
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.