P
Polaris
Hi:
I have some lengthy operations need to be finished before I can respond to
client's request. Just wonder, is it possible to use a thread of my own to
respond to client's web request? As a result, the client's request will not
be blocked by the lengthy operation, when the thread gets client's request
it will respond to the client request using only available existing results
without waiting for the lengthy operation to finish. I tried to put the
lngthy operation in a thread but found out that it did not take full
advantage of the CPU cycles even I set the scheduling priority to the
heighest.
Thanks for any info.
I have some lengthy operations need to be finished before I can respond to
client's request. Just wonder, is it possible to use a thread of my own to
respond to client's web request? As a result, the client's request will not
be blocked by the lengthy operation, when the thread gets client's request
it will respond to the client request using only available existing results
without waiting for the lengthy operation to finish. I tried to put the
lngthy operation in a thread but found out that it did not take full
advantage of the CPU cycles even I set the scheduling priority to the
heighest.
Thanks for any info.