Full index

Package indexes


c d e g i k l m p r s t v w _
c
top
$callbacks
PowerProcess::$callbacks in PowerProcess.class.php
Callback array for setting callback functions based on signals that can be sent to the parent process
$complete
PowerProcess::$complete in PowerProcess.class.php
Boolean variable which determines whether or not to shutdown the control process (parent)
$currentThread
PowerProcess::$currentThread in PowerProcess.class.php
The name of the current thread. Used by WhoAmI()
CheckThreads
PowerProcess::CheckThreads() in PowerProcess.class.php
Checks all running threads to make sure they are still running and their time limit has not been exceeded
ControlCheck
PowerProcess::ControlCheck() in PowerProcess.class.php
Check if the current process is the control process
d
top
$debugLogging
PowerProcess::$debugLogging in PowerProcess.class.php
Whether to log internal debug message
Daemonize
PowerProcess::Daemonize() in PowerProcess.class.php
Attempts to daemonize the current process
e
top
Exec
PowerProcess::Exec() in PowerProcess.class.php
Executes specified program in the current process space
g
top
GetControlPID
PowerProcess::GetControlPID() in PowerProcess.class.php
Returns the PID of the process that spawned this one
GetPID
PowerProcess::GetPID() in PowerProcess.class.php
Returns the PID of the current process
GetThreadStatus
PowerProcess::GetThreadStatus() in PowerProcess.class.php
Get the status of a running thread by name or PID
i
top
InitializeLogger
PowerProcess::InitializeLogger() in PowerProcess.class.php
Initialize the logging stream if enabled
InstallSignalHandler
PowerProcess::InstallSignalHandler() in PowerProcess.class.php
Installs the default signal handlers
IsDaemon
PowerProcess::IsDaemon() in PowerProcess.class.php
Determine whether the control process is daemonized
k
top
KillThread
PowerProcess::KillThread() in PowerProcess.class.php
Kill a thread by PID
l
top
$logSocket
PowerProcess::$logSocket in PowerProcess.class.php
When logging is enabled, this points to the socket in which to write log messages.
$logTo
PowerProcess::$logTo in PowerProcess.class.php
Location to log information messages to.
Log
PowerProcess::Log() in PowerProcess.class.php
Log a message
m
top
$maxThreads
PowerProcess::$maxThreads in PowerProcess.class.php
The maximum number of concurrent threads that can be running at any given time.
$myThreads
PowerProcess::$myThreads in PowerProcess.class.php
Array which stores the thread data for the control process (parent) to manage running child threads
p
top
$parentPID
PowerProcess::$parentPID in PowerProcess.class.php
The pid of the parent process
$parentSID
PowerProcess::$parentSID in PowerProcess.class.php
Session ID of parent session when process is daemonized
PIDDead
PowerProcess::PIDDead() in PowerProcess.class.php
Determine whether a child pid has exited
PowerProcess
PowerProcess::PowerProcess() in PowerProcess.class.php
PowerProcess constructor.
PowerProcess
PowerProcess in PowerProcess.class.php
PowerProcess is an abstraction class for PHP's posix and pcntl extensions.
PowerProcess.class.php
PowerProcess.class.php in PowerProcess.class.php
r
top
RegisterCallback
PowerProcess::RegisterCallback() in PowerProcess.class.php
Registers a callback function for the signal dispatcher or for special signals used by PowerProcess
RemoveLogger
PowerProcess::RemoveLogger() in PowerProcess.class.php
Closes the logging stream
Restart
PowerProcess::Restart() in PowerProcess.class.php
Restarts the control process
RunControlCode
PowerProcess::RunControlCode() in PowerProcess.class.php
Determines whether we should be running the control code or the thread code
RunThreadCode
PowerProcess::RunThreadCode() in PowerProcess.class.php
Determines whether we should be running the child code
s
top
$signalArray
PowerProcess::$signalArray in PowerProcess.class.php
Signals to install for SignalDispatcher.
SendSignal
PowerProcess::SendSignal() in PowerProcess.class.php
Send a signal to a process
SetMaxThreads
PowerProcess::SetMaxThreads() in PowerProcess.class.php
Set the max number of threads that can be running concurrently
SetThreadTimeLimit
PowerProcess::SetThreadTimeLimit() in PowerProcess.class.php
Set the max number of seconds a thread can run before being terminated
Shutdown
PowerProcess::Shutdown() in PowerProcess.class.php
Initiates the shutdown procedure for PowerProcess
SignalDispatch
PowerProcess::SignalDispatch() in PowerProcess.class.php
Handles dispatching of signals to user-defined callbacks
SpawnReady
PowerProcess::SpawnReady() in PowerProcess.class.php
Determines if a new process can be spawned
SpawnThread
PowerProcess::SpawnThread() in PowerProcess.class.php
Spawn a new thread
t
top
$threadData
PowerProcess::$threadData in PowerProcess.class.php
Data store for data that is to be passed to the child process which is to be spawned
$threadTimeLimit
PowerProcess::$threadTimeLimit in PowerProcess.class.php
The maximum number of seconds a thread will be allowed to run.
$tickCount
PowerProcess::$tickCount in PowerProcess.class.php
Sleep timer in micro seconds for the parent process to sleep between status checks using Tick()
$timeStampLogs
PowerProcess::$timeStampLogs in PowerProcess.class.php
Whether to add a timestamp to log output
ThreadCount
PowerProcess::ThreadCount() in PowerProcess.class.php
Get the count of running threads
Tick
PowerProcess::Tick() in PowerProcess.class.php
Process signals to be dispatched and sleep for a number of microseconds
v
top
$version
PowerProcess::$version in PowerProcess.class.php
Current PowerProcess version
w
top
WhoAmI
PowerProcess::WhoAmI() in PowerProcess.class.php
Get the name of the current thread
_
top
__destruct
PowerProcess::__destruct() in PowerProcess.class.php
Frees up memory
c d e g i k l m p r s t v w _