[PATCH] Fix problem with sasl_set_mutex

Kurt Zeilenga Kurt.Zeilenga at Isode.com
Thu Sep 25 12:38:26 EDT 2008


On Sep 25, 2008, at 9:33 AM, Alexey Melnikov wrote:

>>
>> At least with first caller wins, the function pointers don't  
>> bounce  around as they presently do.
>
> I think I can do a better patch. sasl_set_mutex should be allowed to  
> be called any number of times, as long as these calls are before the  
> first sasl_client_init/sasl_server_init call.

I like it.  This is "last before use wins".   (I assume  
sasl_client_init/sasl_server_init are the first allocators of SASL  
mutexes.)


More information about the Cyrus-sasl mailing list