Hello,

These sleeps are UGLY.

At this stage, we had to put them in for the conference mode because phapi
is not correctly "thread protected" in this mode.

Basically, without correct mutexes and critical sections, mixing 2 streams
in phapi leads to a crash.

That is something that is currently being worked on to remove these sleeps.

Jérôme

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Nikolay
Mitev
Envoyé : mardi 1 août 2006 10:55
À : 'wengophone-devel'
Objet : [Wengophone-devel] Thread::sleep(3) in PhApiWrapper::holdCall?

Hello,

can someone explain this piece of code?

void PhApiWrapper::holdCall(int callId) {
    Thread::sleep(3);
    phHoldCall(callId);
    Thread::sleep(3);
}

Why are these sleeps needed?

Regards,
Nikolay


_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to