Re: Asynchronous calls
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Sun, 11 Sep 2005 21:57:31 -0700
"nly" <nlyee2001@xxxxxxxxx> wrote:
>
>Are asynchronous calls always implemented with a separate thread?
I started to write a response in which I hedged about the use of the word
"always", but after giving it some thought, I think the answer is "yes".
Some asynchronous calls are shipped to an entirely different process, but
that's still a separate thread. Some asynchronous calls end by leaving a
requests queued up in a driver, but those will be finished later, on a
separate thread.
>Like from inside a thread, you call some function from another DLL for
>example. After the call, the former thread keeps going on with other work.
>Within the DLL, another work is carrying on and when it's finished, it will
>call back into the former thread to notify that the work is done by the
>callee.
Right, that's a common scenario. If there is work going on while your
program continues to run, then clearly there must be another thread
involved.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- Asynchronous calls
- From: nly
- Asynchronous calls
- Prev by Date: Re: get the floating point value from dividing QWORD
- Next by Date: string section
- Previous by thread: Asynchronous calls
- Next by thread: loading dlg from other dll
- Index(es):
Relevant Pages
|