10.2.6.1 Start-Up Phase

An application-created server thread creates a Tuxedo context and associates itself with this context by calling tpappthrinit(3c). The context created by tpappthrinit(3c) connects to the domain that the application server is in.

If necessary, after successfully calling tpappthrinit(3c), the application-created thread within an ATMI server may call tpgetctxt(3c) and pass the handle that is returned (the value of which is the current context) to a second application thread within the same process.