[Asterisk-Dev] FreeBSD recursive mutexes - please help

Markus Wild mw at kpnqwest.ch
Tue May 4 22:06:05 MST 2004


> No, I was referring to the code in:
> /usr/src/lib/libc/stdtime/localtime.c, which is the original code for:
> /usr/src/asterisk/stdtime/localtime.c.
> 
> There are a few changes I've made to that source, in order to have
> it work in the Asterisk environment, but that's where I'm getting that
> particular mutex initializer.

But you're not getting (and you don't need) _recursive_ mutexes there...
The problem currently is not whether we can statically initialize mutexes
(we can), the problem is we can't initialize them to a specific type.

Markus



More information about the asterisk-dev mailing list