Running the stack in a multithreaded mode
The stack itself can not be run into multiple threads. In the original design, each transport instance could run in its own thread. This capability was removed since it did not seem to increase performance and introduced other design issues.
The stack can run in a separate thread from the TU (or application). The StackThread class can be used to take care of this for you. e.g.
SipStack stack; StackThread sthread(stack); sthread.run();