CORBA Programming Reference
Indicates that a context is no longer required by this thread. This method supports the development of a multithreaded server application.
void clear_ctx()
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.