Search the web
Sign In
New User? Sign Up
PowerThreading · Richter/Wintellect Power Threading
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 442 - 471 of 615   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
442
Hi Jeff, I have an async page in ASP.NET where I do a database lookup on during the OnInit event of the page lifecycle instead of the OnPreRenderComplete (yes...
rafikhan82
Offline Send Email
May 1, 2009
11:30 pm
443
I am not an ASP.NET expert and I have very little experience using my AE with it. Perhaps others in this group have more experience. I do have an ASP.NET web...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 1, 2009
11:45 pm
444
Jeff, thanks for the quick reply. Any code I have in the actual begin/end handlers execute flawlessly as expected. It's only when it's outside those methods...
Rafi Khan
rafikhan82
Offline Send Email
May 2, 2009
12:29 am
445
I do not make the source code available. However, I don’t think it will help you at all. There is definitely no relationship between the Being/End handler...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 2, 2009
12:45 am
446
I wish I had just waited for your email... It took me a little while but I went ahead and decompiled just enough of your DLL to get the AE build into my own...
Rafi Khan
rafikhan82
Offline Send Email
May 2, 2009
1:19 am
447
No, there are no other issues you’d run into with it being set to null. I can’t seem to find where in my book I mention that QUWI doesn’t copy the...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 2, 2009
1:43 am
448
Thanks Jeff. Regarding the QUWI, I feel like an idiot for saying this but I went back into the book and re-read the section starting on 592 "Using the Thread...
Rafi Khan
rafikhan82
Offline Send Email
May 3, 2009
8:27 pm
449
No problem. Thanks for double-checking. -- Jeffrey Richter (http://Wintellect.com<http://wintellect.com/>) From: PowerThreading@yahoogroups.com...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 3, 2009
9:59 pm
450
Hi Jeff, I've recently updated to the latest version of the PowerThreading DLL and am finding that the AE.BeginExecute method will return a null IAsyncResult...
Rafi Khan
rafikhan82
Offline Send Email
May 6, 2009
6:08 pm
451
Your code did not compile for me as is so I had to make some changes to it. After I made some changes to it, I am unable to repro what you describe. Perhaps...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 6, 2009
6:41 pm
452
Here's an updated code sample. I mis-copied the previous sample. The exception I'm getting here is a NullReferenceException. I'm still in the process of...
Rafi Khan
rafikhan82
Offline Send Email
May 6, 2009
7:04 pm
453
I'd like to be able to write something like this so that I can cancel the command later... conn.Open(); var cmd = new SqlCommand("sleepy_prc " + OpnConnCnt,...
rjdevereux
Offline Send Email
May 13, 2009
3:05 am
454
Elegant is in the eye of the beholder but this should work: var dr = cmd.BeginExecuteNonQuery(ae.End(0, r=>cmd.EndExecuteNonQuery(r)), OpnConnCnt); -- Jeffrey...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 13, 2009
3:18 am
455
Hi Jeffrey, I am planning to use OneManyResourceLock from the power threading library. My situation is as follows: * If the resource isn't created yet,...
Charles Prakash Dasari
raodcp
Offline Send Email
May 13, 2009
6:56 pm
456
Is there a way for us to supply or own implementation of ResourceLock to ReaderWriterGate? Regards, Prakash From: PowerThreading@yahoogroups.com...
Charles Prakash Dasari
raodcp
Offline Send Email
May 13, 2009
7:12 pm
457
* If the resource isn't created yet, readers and writers should wait until the resource is created [JR] When you create the OMRL, you can immediately take...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 14, 2009
1:16 am
458
Thanks for the response Jeffrey. The point I was trying to make earlier was: if a writer comes in, I want the writer to get access immediately even though...
Charles Prakash Dasari
raodcp
Offline Send Email
May 14, 2009
3:13 am
459
Hi Jeffrey, Inside the enumerator I need to perform some CRUD operations on a database. I created a wrapper class for that. What I want is to have only one...
Nikos Baxevanis
n.baxevanis
Offline Send Email
May 14, 2009
3:36 pm
460
Wow! This is a very complex scenario. And, I don't think you can do it without blocking a thread somewhere. I spent about 2 hours trying to code it up for you...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 15, 2009
4:14 am
461
It's not clear to me from this code what you are trying to do. If you declare a local Singleton<IDataWriter> inside an iterator, then you will create one...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 15, 2009
4:24 am
462
I need to create only one instance of the ReceiverObjectContext, which is a type generated by Visual Studio designer (and derives from...
Nikos Baxevanis
n.baxevanis
Offline Send Email
May 15, 2009
6:56 am
463
Thanks for the response Jeff. I started writing this code and will share it for discussion. Regards, Prakash From: PowerThreading@yahoogroups.com...
Charles Prakash Dasari
raodcp
Offline Send Email
May 15, 2009
6:40 pm
464
Looks good to me. Have you thought of creating a wiki for your libraries? It might be another good way to build a community around them. ...
bob devereux
rjdevereux
Offline Send Email
May 16, 2009
2:11 pm
465
Hi, I have to showcase that Async client of a web service is better than a sync client. I have made Async client using AsyncEnumerator. Now, In order to proof...
Pawan Kumar
pawan_itbhu
Offline Send Email
May 20, 2009
10:48 pm
466
I wouldn't say that implementing something synchronously versus asynchronously changes performance characteristics. It changes scalability - that is, the...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 21, 2009
5:58 am
467
Hi Jeff, What is the proper way by which to acquire/release a lock on an object from within an enumerable method? The C# compiler lets you get away with...
Rafi Khan
rafikhan82
Offline Send Email
May 23, 2009
2:17 am
468
The reason for the exception is because case one thread is acquiring the lock and another thread is releasing the lock. You could fix this by ... *...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 23, 2009
2:52 am
469
I'm sure I'm missing something here but in the sample, you created a method that returns a resource that didn't require any IO in the first place and you put...
Rafi Khan
rafikhan82
Offline Send Email
May 23, 2009
7:00 pm
470
First, I have to say that I'd really avoid holding on to a lock while doing I/O. If the I/O never completes, you hold the lock forever. A better approach (if...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
May 23, 2009
7:14 pm
471
OK, I see what you're saying. (Oh, and I realized what I was missing in my first batch of questions I asked, you can't use the lock keyword b/c all the other...
Rafi Khan
rafikhan82
Offline Send Email
May 23, 2009
8:59 pm
Messages 442 - 471 of 615   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help