>> btw: You frequently don't need thread with ICS because it is asynchronous
>> and non-blocking. It multitask automatically WITHOUT using threads.
>> Programming is then much easier...

> To date, I have used the components without additional threads. This is
> my first experience using threads. I had to do this because the SQL
> stuff I use (ADO) is blocking.

Well, ADO component have an asynchronous option and they become non-blocking 
!

> If the SQL server is busy, or down, you
> get very large waits in your program.
> So I have moved the SQL stuff into it's own thread.

Having a separate thread for data processing is good design. Trying to push 
everything - communication and dataprocessing - in the same thread is bad 
design.


--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to