I have compiled ClamAV with CL_THREAD_SAFE enabled and created the ClamAV
libraries. But 
Im still hitting a issue with getting multiple threads to use the same
scanning engine in Win32.

I have a application that uses the ClamAV API's (via ClamAV DLL) to invoke
the scanning engine. 
Multiple threads then try to use the same scanning engine and scan many
files in the system. 
The application crashes as oon as I call cl_load().

Has anyone else tried this before and got it working ? Another thread
earlier asked a similar question 
and he has apparently fixed it by adding a call to initialize the Critical
section. But I think that this 
such a patch should not be needed for a tool so widely used. 

Has no one else hit this issue on Win32 ? Any thoughts from the core
developers ?

-- 
View this message in context: 
http://www.nabble.com/Multiple-threads-using-same-Scan-engine%3A-ClamAV-crashes-%21-tf3570566.html#a9975474
Sent from the clamav-win32 mailing list archive at Nabble.com.

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32

Reply via email to