[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