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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 586 - 615 of 615   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
586
Jeffrey, Do you have a recommended way to guard against the race condition you describe below? I want to use an async enumerator to first execute one async...
simonyun
Offline Send Email
Aug 13, 2009
11:26 pm
587
Jeffrey, Calling the AE synchronously was just a temporary measure until I could convert more of the surrounding code to the APM. And there's a lot of it to...
simonyun
Offline Send Email
Aug 13, 2009
11:33 pm
588
If you want to execute the first operation without a timeout at all, then just don't call SetCancelTimeout until after it competes before you initiate the...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Aug 14, 2009
3:42 am
589
There is only ever one thread in the iterator at any one time - this is ALWAYS guaranteed. -- Jeffrey Richter (http://Wintellect.com<http://wintellect.com/>) ...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Aug 14, 2009
3:44 am
590
Thank you for the response. Actually, in my case I *do* want a timeout on the first operation. Then, after that operation completes, I want to set a new...
simonyun
Offline Send Email
Aug 14, 2009
4:46 am
591
No, there is no way. Sent from mobile device. On Aug 13, 2009, at 9:46 PM, "simonyun" <simonyun@...<mailto:simonyun@...>> wrote: Thank you for the...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Aug 14, 2009
12:19 pm
592
You can get more information about it here: https://www.wintellect.com/Registration/Downloads/Effective_Threading_Syllabus_(9-10-2009).pdf I will be covering...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Aug 28, 2009
2:53 pm
593
Jeffrey, In what timezone are you running the meeting? I assume Pacific Standard? I am GMT+10... Regards, Simon Dudley From: PowerThreading@yahoogroups.com...
Simon Dudley
Simon.Dudley@...
Send Email
Aug 30, 2009
11:42 pm
594
September 10th-11th, 11:00 a.m. till 6:00 p.m. EASTERN TIME via Live Meeting -- Jeffrey Richter (http://Wintellect.com<http://wintellect.com/>) From:...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Aug 31, 2009
2:56 am
595
The exception is: An established connection was aborted by the software in your host machine The scenario: I set up a TcpListener on a machine that will have,...
bonneteit
Offline Send Email
Sep 16, 2009
2:24 pm
596
Hi All, I was wondering if I issue a yield return 0, will the AE behave just like it does for yield return <X != 0> especially with the synchronization...
Charles Prakash Dasari
raodcp
Offline Send Email
Oct 7, 2009
10:47 pm
597
Yield return 0 causes the AE to immediately call your iterator back by posting (not sending) a notification to the current SyncContext. If there is no...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Oct 7, 2009
11:29 pm
598
Thanks for the answer Jeffrey. Will "yield return <x != 1>" call me back using Send (as opposed to Post)? And for a well implemented sync-context I don't have...
Charles Prakash Dasari
raodcp
Offline Send Email
Oct 8, 2009
12:39 am
599
I never call Send, I always call Post to keep things happening asynchronously. Yield returning x where x is >0 means that I don't call your iterator right...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Oct 9, 2009
1:57 am
600
Great, that answers my questions. Thank you Jeff! From: PowerThreading@yahoogroups.com [mailto:PowerThreading@yahoogroups.com] On Behalf Of Jeffrey Richter...
Charles Prakash Dasari
raodcp
Offline Send Email
Oct 9, 2009
3:13 am
601
I'm keep getting the same error dialog whenever I tried to change the Wintellect.Threading.Silverlight.dll reference inside VS2008 SP1 for the...
tmather99
Offline Send Email
Oct 12, 2009
2:45 am
602
I've been doing a lot of work with the new Task class that ships with .NET 4.0 as I've been revising my CLR via C# book (due out in early 2010). Task are...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Oct 12, 2009
1:17 pm
603
Hi, I'm struggling with using the library. Is there any way of creating a named mutex? Thanks, Paul...
Paul Cross
paul@...
Send Email
Oct 13, 2009
12:56 pm
604
Usually, developers name a mutex so that it can be shared across process or AppDomain boundaries. However, my ResourceLock base class contains state that is...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Oct 13, 2009
2:55 pm
605
Thanks Jeffrey. I'm managing concurrent access to an old-school out-of-proc COM server so the standard .NET Mutex was the route I followed. All working fine...
Paul Cross
paul@...
Send Email
Oct 13, 2009
9:18 pm
606
I'm thinking of adding a feature to my AsyncEnumerator that would allow you to register two delegates with each AE object. The first "SuspendCallback delegate"...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Oct 21, 2009
3:48 pm
607
Hi Jeffrey, your proposal looks interesting. On Wed, Oct 21, 2009 at 17:48, Jeffrey Richter (Wintellect LLC) ... From top of my head, what about some time...
Jiri Cincura
x2develop
Online Now Send Email
Oct 21, 2009
4:53 pm
608
I'am using AsyncEnumerator to marshall calls into code paths that ultimately touch COM components, Wndows Imaging Components (WIC) to be exact. Calls to COM...
king_perseus
Offline Send Email
Oct 28, 2009
7:35 pm
609
The AsyncEnumerator never creates or spawns any thread on its own. I have not had to do what you are trying to do but what ever you would normally do should...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Oct 28, 2009
7:38 pm
610
I'm playing around with the TcpServer example, and discovered that if the client terminated unexpectedly, TcpServer throw an exception inside Process() method...
tmather99
Offline Send Email
Oct 29, 2009
2:07 am
611
The exception is being thrown from with9in an EndXxx method. You just have to put the EndXxx method in a try block and then you can catch the SocketException. ...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Oct 29, 2009
2:28 am
612
I think I need a better understanding the AsyncCallback parameter of AsyncEnumerator.BeginExecute(). I understand that to be a callback method that the ae will...
sgcvision
Offline Send Email
Nov 8, 2009
6:43 pm
613
You are right about everything. If you care about catching an unhandled exception thrown from within the iterator, you need a try around the EndExecute method...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Nov 8, 2009
6:46 pm
614
I have designed a class that acts like Figure 2 in your article http://msdn.microsoft.com/en-us/magazine/cc721613.aspx (except I'm working with a Windows Form...
sgcvision
Offline Send Email
Nov 8, 2009
9:44 pm
615
Yes, as my code in Figure 2 of the article is written, there would be a problem if m_webSiteDataLength is overwritten. To address this, my AsyncEnumerator has...
Jeffrey Richter (Wint...
jeffrey.richter
Offline Send Email
Nov 9, 2009
9:22 pm
Messages 586 - 615 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