[Nice] thread/smp safety of libnice code

Olivier Crête olivier.crete at collabora.co.uk
Thu Sep 10 07:52:48 PDT 2009

On Thu, 2009-09-10 at 13:21 +0200, purushottam.naik at nokia.com wrote:
> I have one quick question. Are all libnice apis are thread/smp safe? If not, have you identified the hot spots or the apis that may need to be taken care for thread safety?

It should be thread safe. There is a BIG lock taken around all
invocations of the libnie code (see agent_lock()/agent_unlock()). In the
Farsight2 case, there is a one thread for times and one per stream for
sending and one per stream for receiving.

Olivier Crête
olivier.crete at collabora.co.uk
Collabora Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/nice/attachments/20090910/fba65f3d/attachment.pgp 

More information about the Nice mailing list