Class: SONIC_thread

Source Location: /sonic.stream.inc

Class Overview [line 28]


Author(s):

Version:

Copyright:

Variables

Constants

Methods


Child classes:

SONIC_stream

Inherited Variables

Inherited Constants

Inherited Methods



Class Details

[ Top ]


Class Variables

$pid =  0

[line 37]

parent var for pid of fork

Tags:

Type: integer

Overrides:

[ Top ]

$pid_child =  0

[line 45]

child var for pid of fork

Tags:

Type: integer

Overrides:

[ Top ]

$thread_buffer_quiet =  NULL

[line 75]

log only

if output is set as 'buffer' with loggin enabled, then surpress output to standard out aka STDOUT. default is NULL, setup via extended stream constructor over manual override by daemon afterwards.

Tags:

Type: boolean

Overrides:

[ Top ]

$thread_log =  NULL

[line 89]

log file

output log file when in threaded mode. when in rotate mode, daemon will catch ob contents and log instead of child. default is NULL, setup via extended stream constructor over manual override by daemon afterwards.

Tags:

Type: string

Overrides:

[ Top ]

$thread_out =  NULL

[line 61]

ob_start()

if set as 'buffer' ob flush and restart post fork. default is NULL, setup via extended stream constructor over manual override by daemon afterwards.

Tags:

Type: string

Overrides:

[ Top ]


Class Methods

sonic_thread_run

boolean sonic_thread_run( )

[line 99]

fork entire program Memory and Execution space aka M.E.

forks execution at point, assign pid numbers of both processes and returns

Tags:

  • return - pid number if in parents M.E. space, false in childs M.E. space, or dies on failure

Parameters:

[ Top ]


Class Constants


Documentation generated on Fri, 12 Sep 2008 19:19:03 +1000 by phpDocumentor 1.4.1