(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
Klassenbeschreibung
Swoole\Process
{
public static alarm
(
integer $interval_usec
) :
void
public close
(
void
) :
void
public static daemon
([
boolean $nochdir
[,
boolean $noclose
]] ) :
void
public exec
(
string $exec_file
,
string $args
) :
ReturnType
public exit
([
string $exit_code
] ) :
void
public static kill
(
integer $pid
[,
string $signal_no
] ) :
void
public name
(
string $process_name
) :
void
public pop
([
integer $maxsize
] ) :
mixed
public push
(
string $data
) :
boolean
public read
([
integer $maxsize
] ) :
string
public static signal
(
string $signal_no
,
callable $callback
) :
void
public start
(
void
) :
void
public useQueue
(
integer $key
[,
integer $mode
] ) :
boolean
public static wait
([
boolean $blocking
] ) :
array
public write
(
string $data
) :
integer
}
Vordefinierte Konstanten
Swoole\Process::IPC_NOWAIT
-