Re: Thread day for Scott Martin



"Scott Martin" <sales@xxxxxxxxxxxxxxxxxxx> wrote in message
news:44a40740@xxxxxxxxxxxxxxxxxxxxxxxxx
OK,

(be nice)

In reading several threads about threading, I was curious on how others
impliment
threading in their applications.

Most of my applications are database applications, so I would like to
point in that
direction.

What are some example situations on when is it best to place a db in a
thread?


Scott -- Not sure if this was part of what you were asking, but automatic
threading of different connections is part of most any database server or
set of db components you'd get for Delphi. So that different user requests
are handled as separate threads within the db, and a long-running request
from one user won't prevent another user from getting results from a shorter
request -- even if shorter request was issued after the long one.

Again, not sure if this had anything to do with what you were asking, but as
far as db programming goes this is main benefit from threading. And it's
one that happens automatically within the db itself. Other uses for
threading -- like progress bars as Shane Stump mentioned -- are sort of
icing on the cake.

-- Herb Sitz


.



Relevant Pages

  • Re: data call:readfile on pocketPC2003
    ... If you are a Windows app then you may want to use the simple call back. ... If not then you probably need to think about some kind of threading. ... you call TAPI's lineAnswer() and hopefully the TSP ... You save the request ID and any context state ...
    (microsoft.public.win32.programmer.tapi)
  • Re: [SLE] scanner mustek scanexpress 1248 UB not detected
    ... PLEASE do not simply hit reply to a message, ... post your own request for help. ... This screws up the "threading" that many ...
    (SuSE)
  • Re: SimpleXMLRPCServer
    ... > Jeremy> request at a time... ... It does not spawn a thread per request. ... >using a particular class that doesn't mention threading. ... should the SimpleXMLRPCServer module provide a threaded version? ...
    (comp.lang.python)
  • Re: SimpleXMLRPCServer
    ... It does not spawn a thread per request. ... Enabling threading in an application should be an active ... should the SimpleXMLRPCServer module provide a threaded version? ...
    (comp.lang.python)