downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Thread::getCreatorId> <Types de ressources
[edit] Last updated: Tue, 21 May 2013

view this page in

La classe Thread

(No version information available, might only be in Git)

Introduction

Une implémentation d'un Thread doit étendre cette déclaration et implémenter la méthode run. Lorsque la méthode start de cet objet est appelée, le code de la méthode run sera exécuté dans un Thread séparé.

Synopsis de la classe

Thread {
/* Méthodes */
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 ] )
}

Sommaire



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

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