osip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [osip-dev] lock sip stack for osip calls


From: Aymeric Moizard
Subject: Re: [osip-dev] lock sip stack for osip calls
Date: Fri, 5 Oct 2012 11:33:48 +0200

Hi Joseph,

osip is completely architecture free. Even if osip provides API for thread, mutex, etc,
it starts no thread internally on its own.

All methods of osip can be used in one thread and thus requires no lock at all in such
model.

Obviously, the requirement to use lock will depends on both osip code and your code.
So there can't be any correct answer for your question... Sorry.

This is unfortunate, but that is the only way for the final developer to be able to fully
optimize lock/unlock.

Regards
Aymeric

2012/10/4 Joseph Mastrogiulio <address@hidden>
Hi Aymeric,
Does the sip stack need to be locked before every call to osip_xxx function calls?
thanks,
Joseph

_______________________________________________
osip-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/osip-dev




--
Antisip - http://www.antisip.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]