473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Asynchronous processing

Hello All,

I would like to know how I can process a non-CPU bound operation in an
asynchronous fashion so that the original thread is returned to the thread
pool? Fritz Onion wrote a very interesting article on asynchronous handlers
but handlers may not be suitable for my requirement.

http://msdn.microsoft.com/msdnmag/is...g/default.aspx

Does anyone know of articles that discuss how to perform a lengthy operation
in an asynchronous fashion?

Thanks All!!
Nov 22 '06 #1
2 1319
in your case you want to create a manager thread. when a request wants to
perform an async operation, it queues the request to the manager thread
which stats the operation. when the async operation completes, the mananger
thread starts a pool thread toprocess the response.

-- bruce (sqlwork.com)

"Diffident" <Di*******@discussions.microsoft.comwrote in message
news:6A**********************************@microsof t.com...
Hello All,

I would like to know how I can process a non-CPU bound operation in an
asynchronous fashion so that the original thread is returned to the thread
pool? Fritz Onion wrote a very interesting article on asynchronous
handlers
but handlers may not be suitable for my requirement.

http://msdn.microsoft.com/msdnmag/is...g/default.aspx

Does anyone know of articles that discuss how to perform a lengthy
operation
in an asynchronous fashion?

Thanks All!!

Nov 22 '06 #2
Would you be able to point to an example code or reference articles? If not,
what API should I be using to create threads?

Thanks a lot!!

"bruce barker (sqlwork.com)" wrote:
in your case you want to create a manager thread. when a request wants to
perform an async operation, it queues the request to the manager thread
which stats the operation. when the async operation completes, the mananger
thread starts a pool thread toprocess the response.

-- bruce (sqlwork.com)

"Diffident" <Di*******@discussions.microsoft.comwrote in message
news:6A**********************************@microsof t.com...
Hello All,

I would like to know how I can process a non-CPU bound operation in an
asynchronous fashion so that the original thread is returned to the thread
pool? Fritz Onion wrote a very interesting article on asynchronous
handlers
but handlers may not be suitable for my requirement.

http://msdn.microsoft.com/msdnmag/is...g/default.aspx

Does anyone know of articles that discuss how to perform a lengthy
operation
in an asynchronous fashion?

Thanks All!!


Nov 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: ... | last post by:
Does anyone know a good tutorial on asynchronous programming in .net AsyncCallback And IASyncResult are driving me crazy. And the msdn documentation is not really helpful on this topic I...
1
by: hs | last post by:
H I am using the articles by Matt Powell about server side asynchronous web methods (as well as the client side article) However i dont see any improvements to the speed of my application. I'm...
9
by: Michael Lindsey | last post by:
I need to write a server app to send images to client GUIs that are outside of the server's domain. The client will have the file system path to the image but can not access the file system. I am...
1
by: MSDN | last post by:
Does anyone know how to do this with a readline statement or equivalent method? Thanks in advance. Chris
7
by: Siv | last post by:
Hi, I have a stored procedure that I want to execute and then wait in a loop showing a timer whilst it completes and then carry on once I get notification that it has completed. The main reason...
1
by: dba123 | last post by:
I need to perform Asynchronous Inserts using DAAB. So far I have a method which does an insert but how can I do this Asyncronously so that it does not affect the load on our public production...
2
by: archana | last post by:
Hi all, I am processing asynchronous web request with setting timeout using RegisterWaitForSingleObject. On beginwebrequest i am sending address of one callback which i want to execute when...
0
by: Bishoy George | last post by:
Hi, I have a asp.net 2.0 web application. I want to implement the asynchronous model through http handler in web.config ...
4
by: Engineerik | last post by:
I am trying to create a socket server which will listen for connections from multiple clients and call subroutines in a Fortran DLL and pass the results back to the client. The asynchronous socket...
4
by: Morgan Cheng | last post by:
Since ASP.NET 2.0, asynchronous web service client can be implemented with event-based pattern, instead of original BeginXXX/EndXXX pattern. However, I didn't find any material about event-based...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.