Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

thread(3) [php man page]

THREAD(3)								 1								 THREAD(3)

The Thread class

INTRODUCTION
When the start method of a Thread is invoked, the run method code will be executed in separate Thread, asynchronously. After the run method is executed the Thread will exit immediately, it will be joined with the creating Thread at the appropriate time. Warning Relying on the engine to determine when a Thread should join may cause undesirable behaviour; the programmer should be explicit, where possible. CLASS SYNOPSIS
Thread Threadextends ThreadedCountableTraversableArrayAccess Methods o public void Thread::detach (void ) o public integer Thread::getCreatorId (void ) o publicstatic Thread Thread::getCurrentThread (void ) o publicstatic integer Thread::getCurrentThreadId (void ) o public integer Thread::getThreadId (void ) o publicstatic mixed Thread::globally (void ) o public boolean Thread::isJoined (void ) o public boolean Thread::isStarted (void ) o public boolean Thread::join (void ) o public void Thread::kill (void ) o public boolean Thread::start ([integer $options]) Inherited methods o public array Threaded::chunk (integer $size, boolean $preserve) o public integer Threaded::count (void ) o public bool Threaded::extend (string $class) o public Threaded Threaded::from (Closure $run, [Closure $construct], [array $args]) o public array Threaded::getTerminationInfo (void ) o public boolean Threaded::isRunning (void ) o public boolean Threaded::isTerminated (void ) o public boolean Threaded::isWaiting (void ) o public boolean Threaded::lock (void ) o public boolean Threaded::merge (mixed $from, [bool $overwrite]) o public boolean Threaded::notify (void ) o public boolean Threaded::pop (void ) o public void Threaded::run (void ) o public mixed Threaded::shift (void ) o public mixed Threaded::synchronized (Closure $block, [mixed $...]) o public boolean Threaded::unlock (void ) o public boolean Threaded::wait ([integer $timeout]) PHP Documentation Group THREAD(3)

Check Out this Related Man Page

SPLQUEUE(3)								 1							       SPLQUEUE(3)

The SplQueue class

INTRODUCTION
The SplQueue class provides the main functionalities of a queue implemented using a doubly linked list. CLASS SYNOPSIS
SplQueue SplQueueextends SplDoublyLinkedListIteratorArrayAccessCountable Methods o SplQueue::__construct (void ) o mixed SplQueue::dequeue (void ) o void SplQueue::enqueue (mixed $value) o void SplQueue::setIteratorMode (int $mode) Inherited methods o public void SplDoublyLinkedList::add (mixed $index, mixed $newval) o public mixed SplDoublyLinkedList::bottom (void ) o public int SplDoublyLinkedList::count (void ) o public mixed SplDoublyLinkedList::current (void ) o public int SplDoublyLinkedList::getIteratorMode (void ) o public bool SplDoublyLinkedList::isEmpty (void ) o public mixed SplDoublyLinkedList::key (void ) o public void SplDoublyLinkedList::next (void ) o public bool SplDoublyLinkedList::offsetExists (mixed $index) o public mixed SplDoublyLinkedList::offsetGet (mixed $index) o public void SplDoublyLinkedList::offsetSet (mixed $index, mixed $newval) o public void SplDoublyLinkedList::offsetUnset (mixed $index) o public mixed SplDoublyLinkedList::pop (void ) o public void SplDoublyLinkedList::prev (void ) o public void SplDoublyLinkedList::push (mixed $value) o public void SplDoublyLinkedList::rewind (void ) o public string SplDoublyLinkedList::serialize (void ) o public void SplDoublyLinkedList::setIteratorMode (int $mode) o public mixed SplDoublyLinkedList::shift (void ) o public mixed SplDoublyLinkedList::top (void ) o public void SplDoublyLinkedList::unserialize (string $serialized) o public void SplDoublyLinkedList::unshift (mixed $value) o public bool SplDoublyLinkedList::valid (void ) PHP Documentation Group SPLQUEUE(3)
Man Page