mpr/mpr.cpp File Reference


Detailed Description

Library and application initialization.

Overview:
The user instantiates the MR class in their application, typically in main(). Users can initialize the library by creating an instance of the Mpr class, or they can start the Mpr services such as the thread-task, timer and select modules.
Remarks:
This module is thread-safe.


Functions

char *  mprGetCurrentThreadName ()
void  mprSetDebugMode (bool on)

Function Documentation

char * mprGetCurrentThreadName  ) 
 

Synopsis:
Get the current thread name.
Overview:
Return a descriptive name for the current thread.
Returns:
Returns a pointer to the current threads name. Callers should not free this string.
See also:
mprMalloc, mprCalloc, mprRealloc

void mprSetDebugMode bool  on  ) 
 

Synopsis:
Turn on debug mode.
Overview:
Debug mode disables timeouts and timers. This makes debugging much easier.
Parameters:
on  TRUE to disable debugging.
Stability classification:
Evolving.
Library:
libappWeb

© Mbedthis Software LLC, 2003-2004. All rights reserved. Mbedthis is a trademark of Mbedthis Software LLC.