[python] When to use locks

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

 



On Fri, Aug 22, 2008 at 10:24 AM, Sa?l Ibarra <saghul at gmail.com> wrote:

> Hi,
>
> I'm about to finish a little app using python bindings and I don't


Is it going to be open sourced? I hope it is, for the benefit of the
community (and is required by the GPL anyway). And any change of having
sneak preview to you work? ;-)


>
> really know whant operations should be protected with lib.auto_lock()
> Could someone explain a little wich operations should be protected?
>
>
In general, the lib.auto_lock() is intended to be used internally by
pjsua.py only. It's there to protect access to the C module, and vice versa
from the C module calling Python interpreter. So application should never
need to use it.

Cheers
 Benny



> Thanks!
>
> --
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080822/85f8dacd/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux