Thanks a lot Jeff. From: PowerThreading@yahoogroups.com [mailto:PowerThreading@yahoogroups.com] On Behalf Of Jeffrey Richter (Wintellect LLC) Sent: Friday,...
The object reference you pass to the lock statement does NOT have to be volatile; it can be an ordinary reference. So, you can use a readonly static reference...
Yes, I meant "haven't". By scan, I meant read-only operations. But, for add/remove, there would probably have to be some locking - just as short-lived as...
Thanks again. Did you mean you "haven't" personally done any work along these lines? By "parallelize the scan" do you mean to allow for concurrent enumerations...
I personally have done any work along these lines. In a 32-bit address space it is impossible to get 10GB of data in memory without using some kind of paging...
Okay that makes sense. Thanks so much for your response, I really appreciate it. I do have another question that's slightly off-topic. I'm just wondering if...
Documentation on my OneManyResourceLock can be found here: http://msdn.microsoft.com/en-us/magazine/cc163599.aspx 1. Yes, calling Done is the same as...
First of all, thank you for creating such an awesome and much-needed library. I have a couple of questions regarding the OneManyResourceLock. And if I've...
There is really nothing different for reads versus writes. You issue async reads or writes the same way (via some BeginXxx method) and then the AsyncEnumerator...
Alright! Now I am getting somewhere. I followed your example and was able to get this working to fill a dataset on the web page; and wow is that fast! I am...
The first problem is that you need a method that asynchronously looks up the state by address. You can't just call GetStateByAddress - this method needs to...
Jeffrey, I was sort of bouncing around some of what you are talking about below. Into my iterator, one of the parameters being passed in is a collection of...
I have no example of this however, it is very easy to do. In your iterator, just allocate the collection you want and after you issue all the queries, execute...
I have a some queries that can be run asynchronously and the Wait for all pattern looks to be just what I would need. But what I would like to do is place the...
Our application has not yet been upgraded to .NET 3.5. Is it possible to have a version of Wintellect.Threading.dll that will work on .NET 2.0 (does not...
Hello, I would like to see an ASP.NET sample page using AsyncEnumerator object with Page.RegisterAsyncTask() or Page. AddOnPreRenderCompleteAsync. This could...
Gorget about it, this was my fault. I was using wrong code retrieve the user object from the async result, which results in an InvalidCastException that is not...
Hello, I'm having difficulties using the library with a WCF client generated with SVCUTIL.EXE /async. Passing the async enumerator "End" method to one of the...
I am presenting at Wintellect's Devscovery conference<http://www.devscovery.com/> this week. At this conference, the attendees are able to set up 1-on-1...
I'm not sure what you are ultimately trying to accomplish but you might want to look at the System.IO.FileSystemWatcher class which ships with the .NET Fx....
Hi, I want to check the status of file/Directory/orSomething (MachineStatus) periodically(using System.Threading.Timer), when a condition is true, I want to...
The discard feature of my AsyncEnumerator is discussed in the new magazine column: http://msdn.microsoft.com/en-us/magazine/cc721613.aspx This feature tells my...
Hi Jeffrey, I am using your library for last 2 weeks (for a new Real time data manager), specifically I am using AsyncEnumerator and OneManyResourceLock (both...
Thanks for releasing the library, it's definitely helped me in a few places. Here is one of the places we are using it. The code below is basically executing...
Since I set up this group, I've been pretty busy but I wanted to let all of you know that I am here and available to talk about anything Power Threading...