02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

DESCRIPTION<br />

EXAMPLES<br />

RETURNS<br />

SEE ALSO<br />

This function is used to call static destructors under the manual strategy (see<br />

cplusXtorSet( )). moduleName is the name of an object module that was munched before<br />

loading. If moduleName is 0, then all static destructors, in all modules loaded by the target<br />

server loader, are called.<br />

The following example shows how to destroy the static objects in modules called<br />

applx.out and apply.out:<br />

-> cplusDtors "applx.out"<br />

value = 0 = 0x0<br />

-> cplusDtors "apply.out"<br />

value = 0 = 0x0<br />

The following example shows how to destroy all the static objects that are currently<br />

loaded, with a single invocation of cplusDtors:<br />

N/A<br />

-> cplusDtors<br />

value = 0 = 0x0<br />

windsh, cplusXtorSet( ), <strong>Tornado</strong> User’s Guide: Shell<br />

cplusStratShow( )<br />

NAME cplusStratShow() – show C++ static constructors calling strategy (*)<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

void cplusStratShow (void)<br />

This command shows the current C++ static constructor calling strategy. There are two<br />

static constructor calling strategies: automatic and manual.<br />

N/A<br />

-> cplusStratShow<br />

C++ ctors/dtors strategy set to MANUAL<br />

value = 0 = 0x0<br />

windsh, cplusXtorsSet( ), <strong>Tornado</strong> User’s Guide: Shell<br />

386

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!