BTW

I understand you are probably very busy and all this is more a work of love than duty for you.

But still.

A) I am perfectly capable of reading man pthread_mutex_lock

In fact I did multiple time.

B) Obviously you already thought "NO" otherwise the code would reflect that,


I was hoping you would explain with a drop more detail what I seem to be missing here.


Joe

Trog wrote:

On Tue, 2004-04-27 at 16:34, Joe Maimon wrote:


Hello All,

In clamd/server-th.c why do we not wait to call pthread_mutex_unlock until after reload_db?



Because the 'reload_mutex' mutex protects the variable 'reload'. Thats all.



ALSO: Isnt this a call to pthread_mutex_unlock after its already unlocked?




No.


-trog





-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Clamav-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-devel

Reply via email to