pj_simple_mutex is not simple?

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

 



I have been using the pj_lock_create_simple_mutex(..) for a while. As I 
understand it repeated calls to pj_lock_acquire(mutex_p) should result 
in a deadlock since the mutex is not recursive. This is not the case 
though and when looking at the pj_mutex code it seems as the "type " 
that identifies a simple or recursive mutex is never used.

So I guess all mutexes are recursive as it is now?

/Johan



[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