... 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...
55
Peter Ciszewski
Peter.Ciszewski@...
Oct 14, 2008 5:40 pm
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...
You're understand is not right <g>. WaitToRead/WaitToWrite return an IDisposable object - this object is different from the lock itself. What you are doing is...
57
Peter Ciszewski
Peter.Ciszewski@...
Oct 14, 2008 8:16 pm
Oh, I see what you mean. That sample code below does not make sense indeed. Actually, this is more like the code that I was using in my program: var readLock =...
Yes, this is true. Every time you call Dispose on the object returned from a WaitToXxx method, you release the lock. If you call Dispose more than once it...
Greetings, Jeffrey. I've just read your MSDN articles on AsyncEnumerator and have downloaded your library. So - as far as dig it - questions appear rapidly. My...
First, you must be sure that your processing can all execute in parallel and that there is no sequential dependency as part of the work. Then, if all your...
Thanks a lot, Jeffrey! But now I dunno how to handle exceptions gracefully Suppose I had such code-snippet: try { for (Int32 index = 0; index < items.Count;...
You have two options for handling exceptions: * You can put a try/catch block in the callback method itself (in my example, you'd put this...
63
Lars
larsflagan@...
Oct 20, 2008 1:56 pm
Hi all, I'v been pondering about the best way to execute a async IO call from a web context (asp.net or even wcf). From what I gather the best and most...
ASP.NET and WCF fully support async scenarios. Here is sample code from an asmx file that uses my AsyncEnumerator to implement an async ASP.NET web service: ...
Jeffrey Thanks a lot for your support! But questions are still coming - I execute the following code I have breakpoint set inside callback method. But to my...
I can't tell from this. You have to send me more of the code. Would you rather e-mail it to me? If so, e-mail to JeffreyR (at) Wintellect.com. -- Jeffrey...
Hi Jeffrey, after a lot of sweating I came out with my first use of Asynchronous programming. Hurray. As you can see in the following code I check the...
Here is a full-blown, working sample: using System; using System.Collections.Generic; using System.Windows.Forms; using Wintellect.Threading.AsyncProgModel; ...
Wow... thank you so much. I guess it could have taken months, if ever, to get there alone. thanks Roberto ... @"C:\temp\OrthoTech.mdb"), ae.EndExecute); ... ...
Jeffrey, thanks for you help! Well, I decided first of all to ensure that my code is ok, so maybe it's only my mistake. Apart from that I do not understand...
I explain how it works (under the covers) in my MSDN Concurrent Affairs column: http://msdn.microsoft.com/en-us/magazine/cc546608.aspx For the code I wrote for...
Jeffey! THAT'S SO COOOOOOOOOOOOOOOOOOOOOOOL! Many thanks, god bless u! But I'm still in process of getting it all together - so there'd be more upcomin...
This is great information. One question I have is I am doing something like this in a web application. I have a MVP pattern setup and the code in my enumerator...
Looking at my own code I noticed that I setup the ae.Result =newCollection<AssociateWorkset>(); But then I never use it. I made a change to my code to use...
I don't what GetAssociateWorksetBegin/End do so I can't tell for sure what you are doing/trying to do. When you call the EndInvoke method (which I guess is...
Jeffrey, I've got a problem. When I construct many-many (~5000) threads I recive the following error An asynchronous operation completed with no way to call an...
Hi Jeffrey, I applied the sample you sent me in a similar situation. Can you confirm I did it correctly? Best Regards Thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaank...
First, I don't think you mean "When I construct many-many threads"; I think you mean "When I call the BeginInvoke method many-many times" because you are not...
Hi all, I am making a Silverlight version of my Power Threading library. Towards this end, I want the resulting DLL to be as small as possible and so I plan to...
Hi Jeff, I have few basic questions with relates to threading and AsyncEnumarator class. A. I have one confusion on number of CPU having in my box, when I...