Biferno 1.7 Tabasoft.it

Application: ItaliaScuola Back-Office3
Reference
Admin | Edit | Reference | Cache | Logs
Click on a class name to see the description of that particular class:

Predefined Classes

ansi
array
biferno
boolean
cacheItem
char
classInfo
client
collection
curApp
curFile
curScript
db
double
error
file
folder
header
httpPage
imageUtils
int
long
memberInfo
multipart
object
ref
regexp
request
search
serverInfo
smtp
stackItem
string
time
unix
unsigned
 

Application Classes

Banner
BrowserBar
Ctrl_Form
FCKeditor
Form
GridChartGraph
Histogram
LocalDate
Result
condb
cookie
folderExt
headerExt
httpExt
mysqlFulltext
objHtml
requestExt
tableExport
utils
 

Functions

Functions

curScript

Property:

currentThreads

static int currentThreads

Description:

Returns the total number of threads involved in the current script.

Notes:

Why does Biferno (sometimes) use more than one thread per script?

When a script execution is requested Biferno spawns a thread with a predefined stack size (for C internal variables). The stack size is usually big enough to execute the entire script. Nevertheless some scripts (for example scripts using recursive functions) could need more stack at a certain point of execution. In that case the next block of code is executed in a new thread (joined to the parent) in order to obtain more stack space for execution. Thus the number of threads per script can also be greater than 1.

See also:

maxThreads

Implementation:
C
 

Return to the curScript class