[twsocket] To run sockets in a thread or not ?

2008-06-27 Thread Daniel Mauric
Hi, I have a single thread app that sends and receives messages. For some messages it has to run SQL. These are relatively fast, say average of 0.1, up to 0.5 sec. Due to the design of the app I can't run these in a separate thread, so the only option I have is to run sockets in a separate

Re: [twsocket] To run sockets in a thread or not ?

2008-06-27 Thread Angus Robertson - Magenta Systems Ltd
I have a single thread app that sends and receives messages. For some messages it has to run SQL. It all depends on the volume of messages you are receiving. I have similar applications that run on multiple servers for load sharing and redundancy, and another that uses async ADO SQL requests

[twsocket] [OT] Killing threads

2008-06-27 Thread info2004
Hi, I am using ICS in my project, but this is not ICS related. I would like to ask you guys how I can kill a thread created in my main thread, from the main thread itself. If the created thread becomes unresponsive due to ADO operation not returning - not got to the bottom of that one yet,

Re: [twsocket] [OT] Killing threads

2008-06-27 Thread Arno Garrels
info2004 wrote: I am using ICS in my project, but this is not ICS related. This is rather OT, the right place to ask this question is for example in newsgroup codegear.public.delphi.nativeapi.win32. Server: newsgroups.codegear.com, don't use another server. Thanks -- Arno Garrels [TeamICS]