[asterisk-dev] ast_mutex_lock

Juan Jose Comellas juanjo at comellas.com.ar
Mon Oct 23 09:24:03 MST 2006


They are the Asterisk versions of the pthread_mutex_lock() and 
pthread_mutex_unlock() POSIX functions. They basically let you lock or unlock 
a mutual exclusion semaphore (mutex).


On Mon October 23 2006 04:26, Alexandr Olekhnovich wrote:
> Hello all,
> I'm developing a billing module for asterisk and I've
> to use connection pooling. But it doesn't work as well as I need. So
> I am under apprehension of 2 functions. They are ast_mutex_lock,
> ast_mutex_unlock.
> I know partly what they are for. But can anybody explain what they are
> really for and where can I use them? Thanx.

-- 
Juan Jose Comellas
(juanjo at comellas.com.ar)


More information about the asterisk-dev mailing list