3.7.1.3.7.4 Description
In managing the thread pool, the Oracle Tuxedo software creates and releases threads using the operating system thread library services. Depending on application requirements, these threads might need to be initialized before they are used to process requests.
The thread_initialize
callback method is invoked
each time a thread is created, to initialize the thread. Note that
the Oracle Tuxedo software manages a number of system-owned threads
that are used for dispatching requests; these system-owned threads
are in addition to those threads in the thread pool. Under some
circumstances the servant methods you implement are also executed
in these system-owned threads; for this reason the Oracle Tuxedo
software invokes the thread_initialize
method to
initialize the system-owned threads.
The ServerBase
class provides a default
implementation of the thread_initialize
method that
opens the XA resource manager in the initialized thread.
Parent topic: ServerBase::thread_initialize()