I suspect the problem is that res_query isn't reentrant, and so you 
(shouldn't|can't) use it in a threaded application.  
  

Reply via email to