< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate-users] Threading model


Ive got a snippet of example code from the web:

        SipStack stack;
        StackThread stackThread(stack);
        stackThread.run();


        while (1)
        {
                SipMessage* msg = stack.receive();
                .....
        }


Im confused as to which thread is which here. Has it created a thread which runs the stack in the background plus my main thread which executes the while loop?

Andrew

Recommends you try OpenOffice.org - I'm
Microsoft free, you too can be.