> Thanks for the tips. However, Sock.AbortSocket doesn't work in my case > (I'm using synapse in Lazarus/FreePascal on 64 bit Linux) > > It seems that HeartbeatRate is what I was looking, but I have one > question. Is this method really safe? I mean, there is no chance for > thread deadlock when I call Abort from main thread?
It is designed for this scenario. This is reason, why Abort just set boolean flag and Synapse is different thread testing this flag. -- Lukas Gebauer. http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. http://geoget.ararat.cz/ - Geocaching solution ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
