프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$thread_vars |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_callable | The callable that will execute. | ||
$_exhaustion | integer | null | Process exhaustion. | |
$_priority | integer | Process priority. | |
$_threads | boolean | Threads enabled for this process. |
메소드 | 설명 | |
---|---|---|
__construct ( mixed $callable = null, integer $exhaust = XPSPL_PROCESS_DEFAULT_EXHAUST, null | integer $priority = XPSPL_PROCESS_DEFAULT_PRIORITY ) : void | Constructs a new process object. | |
__toString ( ) : string | Return a string representation of this database. | |
decrement_exhaust ( ) : void | Decrements the exhaustion counter. | |
enable_threads ( ) : void | Enable threads for this process. | |
exhaustion ( ) : integer | Returns count until process becomes exhausted | |
get_function ( ) : closure | array | Returns the function for the process. | |
get_priority ( ) : integer | Returns the priority of the process. | |
get_thread ( $signal = null ) | Returns the thread to run this process. | |
is_exhausted ( ) : boolean | Determines if the process has exhausted. | |
set_exhaust ( integer $rate ) : void | Sets the process exhaust rate. | |
set_priority ( integer $priority ) : void | Sets the process priority. | |
threads_enabled ( ) : boolean | Returns if threads are enabled for this process. |
public __construct ( mixed $callable = null, integer $exhaust = XPSPL_PROCESS_DEFAULT_EXHAUST, null | integer $priority = XPSPL_PROCESS_DEFAULT_PRIORITY ) : void | ||
$callable | mixed | A callable php variable. |
$exhaust | integer | Count to set process exhaustion. |
$priority | null | integer | Priority of the process. |
리턴 | void |
public __toString ( ) : string | ||
리턴 | string |
final public decrement_exhaust ( ) : void | ||
리턴 | void |
final public enable_threads ( ) : void | ||
리턴 | void |
final public exhaustion ( ) : integer | ||
리턴 | integer |
final public get_function ( ) : closure | array | ||
리턴 | closure | array |
final public get_priority ( ) : integer | ||
리턴 | integer |
final public is_exhausted ( ) : boolean | ||
리턴 | boolean |
final public set_exhaust ( integer $rate ) : void | ||
$rate | integer | Exhaust rate |
리턴 | void |
final public set_priority ( integer $priority ) : void | ||
$priority | integer | Integer Priority |
리턴 | void |
public threads_enabled ( ) : boolean | ||
리턴 | boolean |