dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Thread::getCreatorId> <Predefined Constants
[edit] Last updated: Fri, 28 Jun 2013

view this page in

The Thread class

(PECL pthreads >= 0.34)

Introduction

An implementation of a Thread should extend this declaration, implementing the run method. When the start method of that object is called, the run method code will be executed in separate Thread.

Class synopsis

Thread {
/* Methods */
final public long getCreatorId ( void )
final public long getThreadId ( void )
final public boolean isJoined ( void )
final public boolean isRunning ( void )
final public boolean isStarted ( void )
final public boolean isTerminated ( void )
final public boolean isWaiting ( void )
final public boolean join ( void )
final public boolean lock ( void )
final public boolean notify ( void )
abstract public void run ( void )
final public boolean start ([ long $options ] )
final public mixed synchronized ( Closure $block [, mixed $... ] )
final public boolean unlock ( void )
final public boolean wait ([ long $timeout ] )
}

Table of Contents



add a note add a note User Contributed Notes Thread - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites