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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
Thanks a lot Jeff. From: PowerThreading@yahoogroups.com [mailto:PowerThreading@yahoogroups.com] On Behalf Of Jeffrey Richter (Wintellect LLC) Sent: Friday,...
Jeff, Have you run into situations where a multi-threaded app is limited by memory instead of CPU, or blocking? We ran into that situation, we ended up tuning...
What about the following singleton model, this doesn't require any locking since the static constructor is only called once (as per the definition of the...
It is hard for me to offer any guidance with limited information about the end-goal. A goal should always be to use as few a number of threads as possible and,...
No, the static field does not need to be volatile. The CLR does ensure that the static ctor has run before it allows any members to execute. -- Jeffrey Richter...
Well, maybe not that intesting a question, I worked around the specific problem, but here's the background. I wrote a recursive text file searcher. I used the...
Yes, unfortunately, Windows allows you to perform some operations only synchronously. Getting subdirectories and opening files are 2 such examples but many...
Hello, I have a web service function that needs to call several web services sequentially, based on the result of the previous call. I'm wondering if the...
... send ... Thanks for the response. It's good to know the specifics. We have not run into any problems. We did, though, need to put the following snippet...
Hi Jeffrey (or anybody of the group listening) as silly as it may sound, I know your library is GREAT, but I don't know how to get started. So what I'm asking...
When you download the library, it comes with a bunch of samples showing how to use the AsyncProgModel stuff. Also, I have written a bunch of Concurrent Affairs...
Hi Jeff et al. I'm new to the Wintellect.Threading library and it's taken me some time to understand how the ResourceLock work so I may be missing something...