Skip navigation.

CORBA Programming Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

 


CORBA::ORB::clear_ctx

Synopsis

Indicates that a context is no longer required by this thread. This method supports the development of a multithreaded server application.

C++ Binding

void clear_ctx()

Parameters

None.

Return Value

None.

Description

This method is called by an application-managed thread after the thread has finished using the context. The method removes the association between that thread and a context.

Note: Do not call the clear_ctx method from within a thread that is managed by the BEA Tuxedo system. The BEA Tuxedo system performs the appropriate context propagation and cleanup automatically for the threads it manages. If this method is called on a thread managed by the BEA Tuxedo system, the BAD_PARAM exception is thrown.

Example

TP::orb()->clear_ctx();

See Also

CORBA::ORB::get_ctx
CORBA::ORB::set_ctx

 

Skip navigation bar  Back to Top Previous Next