Lukas Gebauer a écrit :
>> I have finished the translation of my dll, I use only Synapse objects now
>> for the use of sockets. My dll is working properly with 2 programs, but
>> crashes with an another program. The part which crashes is called by
>> thread in the main program, is it the reason? My question is: Is Synapse
>> thread safe, is possible to call functions of synapse inside a thread?
>>     
>
> You can call it from threads, just use justne Synapse class instance 
> within one thread. Do not call one instance form more threads.
>   
I am sorry Lukas, but I don't understand very well your answer.
My programm+library do that:
a library (dll or so) wich define an udp socket, and inside this 
library, a thread to survey all the UDP packets coming from the socket.
The program  wich call the library, do that from the main task and also 
from a thread.

Best regards


-- 
Michel Meunier

www.etoiles-a-bleau.fr



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to