Trog wrote:

On Wed, 2004-04-28 at 11:01, Joe Maimon wrote:


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







Ok. Thank you.
I was looking at this because clamd hung up on me right after logging "No stats for Database check - forcing reload"
Whereby socket connections would open, but clamd wouldnt respond to anything. not even a ping.


Unfortunately it happened at a bad time and I was unable to trace/gdb it.

It would make sense to suppose that steps were taken to ensure there was only one thread executing reload_db with do_check == FALSE ?

or is struct cl_node *root thread local?


-------------------------------------------------------
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