Skip to search.
PowerThreading · Richter/Wintellect Power Threading

Group Information

  • Members: 258
  • Category: Software
  • Founded: Jun 26, 2008
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

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

Messages

  Messages Help
Advanced
Messages 946 - 975 of 1043   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
946 Jiri Cincura
x2develop Offline Send Email
Sep 4, 2011
10:56 am
Hi Jeffrey, *, I created NuGet package, so anybody can enjoy it through NuGet. More info http://blog.cincura.net/id/232526 and ...
947 robert.hegner@...
rhegner Offline Send Email
Sep 5, 2011
3:28 pm
I'm implementing a library for a proprietary communication protocol (over TCP/IP) with a device. The library exposes its functionality with the BeginXxx/EndXxx...
948 Jeffrey Richter
jeffrey.richter Offline Send Email
Sep 5, 2011
4:05 pm
First, rewrite EndGetLogMessages like this: public LogEntry[] EndGetLogMessages(IAsyncResult asyncResult) { var tuple =...
949 Jeffrey Richter
jeffrey.richter Offline Send Email
Sep 5, 2011
4:05 pm
This is awesome! I always wanted to do this but I just never got around to it. Thanks, Jiri! --Jeffrey Richter (http://Wintellect.com) From:...
950 rhegner Offline Send Email Sep 5, 2011
7:13 pm
Thanks Jeffrey for your help! I will try FromAsyncResult and SyncGate tomorrow when I'm back at work. Just two little questions: 1) You suggest a static...
951 Jeffrey Richter
jeffrey.richter Offline Send Email
Sep 5, 2011
7:18 pm
1. Yes 2. If an iterator gets an unhandled exception, the AE object catches it and invokes the callback passed to BeginExecute. When this callback...
952 rhegner Offline Send Email Sep 6, 2011
11:17 am
Ok I rewrote my connection class to use your SyncGate for synchronisation. This seems to work fine. However I can't reproduce the exception handling behaviour...
953 rhegner Offline Send Email Sep 6, 2011
11:17 am
Wow, that's great! Thanks again!...
954 Jeffrey Richter
jeffrey.richter Offline Send Email
Sep 6, 2011
11:34 am
I think this is a debugger issue. Run without the debugger or hit f5 in the debugger to keep your app going. -- Jeffrey Richter (http://Wintellect.com) On Sep...
955 rhegner Offline Send Email Sep 6, 2011
5:42 pm
You're right, it's a debugger issue. I get an unhandled exception in Debug and in Release configuration, but when I start the exe outside of VS it works fine. ...
956 Jeffrey Richter
jeffrey.richter Offline Send Email
Sep 6, 2011
5:57 pm
It must be something with your install or settings as it should work like it does on your private notebook computer. I don't think I can help with this...
957 rhegner Offline Send Email Sep 6, 2011
8:26 pm
For your information: I exported the settings on both machines and compared all debugger related settings which are different. I found that it has to do with...
958 psw999 Offline Send Email Sep 28, 2011
3:14 pm
Hi, I've implemented a WCF server, called by WCF asynchronously and processing asychronously. Some types of request are procesed by a nested coroutine also...
959 Jordan
jordan.schae... Offline Send Email
Sep 29, 2011
12:20 am
I am very new to the power threading tools and I apologize in advance if this question has already been asked but I have not been able to find exactly what I...
960 Jeffrey Richter
jeffrey.richter Offline Send Email
Sep 29, 2011
6:30 am
I don't think I'd use the AsyncEnumerator for this. I think I'd have create one System.Threading.Timer object per device and have it go off once immediately;...
961 Nathaniel
nathanielmarler Offline Send Email
Nov 1, 2011
3:07 pm
Hi Jeffrey - can you explain the use of the "completeOnReturn" param in: [ReaderWriterGateReleaser].Release(bool completeOnReturn) How does it differ from...
962 Jeffrey Richter
jeffrey.richter Offline Send Email
Nov 1, 2011
4:17 pm
The Dispose method internally calls Release passing false for the completeOnReturn parameter. If completeOnReturn is true, then the gate is being released...
963 Nathaniel
nathanielmarler Offline Send Email
Nov 1, 2011
5:18 pm
Just to make sure I understand: the completeOnReturn parameter controls when you signal the IAsyncResult object that is returned from...
964 Jeffrey Richter
jeffrey.richter Offline Send Email
Nov 1, 2011
5:45 pm
Yes, it signals the AsyncWaitHandle, the IsCompleted property and, most importantly, when the AsynCallback passed to the BeginXxx methods gets invoked. And,...
965 Nathaniel
nathanielmarler Offline Send Email
Nov 1, 2011
6:49 pm
Hmmm, I hadn't considered the timing of the AsyncCallback invoke. What if the delegate contains Release(false), followed by some calculation that produces the...
966 Jeffrey Richter
jeffrey.richter Offline Send Email
Nov 1, 2011
9:04 pm
There is a ResultValue property of type Object which is how you set the desired result. You can set this property before calling Release(false) and it will be...
967 Jeffrey Richter
jeffrey.richter Offline Send Email
Nov 1, 2011
9:13 pm
For more info, see http://msdn.microsoft.com/en-us/magazine/cc163532.aspx#S5 Read the 2 paragraphs just before the "How ReaderWriterGate is Implemented"...
968 Nathaniel
nathanielmarler Offline Send Email
Nov 2, 2011
12:56 am
Yes, I reviewed the MSDN article and sample code before posting, and I've actually used the ReaderWriterGate successfully in other projects. I just looked...
969 Nathaniel
nathanielmarler Offline Send Email
Nov 28, 2011
12:59 pm
Hoping this is an easy one... how to I handle the case of a cancelable iterator where the EndXxx method returns an int (or other built-in type)? EndVoid(...)...
970 Nikos Baxevanis
n.baxevanis Offline Send Email
Nov 28, 2011
2:42 pm
Here is an example for calling a method after the cancellation: internal sealed class Program { private const int timeout = 500; private static readonly...
971 Nathaniel Marler
nathanielmarler Offline Send Email
Nov 28, 2011
2:50 pm
To see my problem, change your example so that AfterCancel returns an int Thanks, -Nate...
972 Francis E
pouya.pirzadeh Offline Send Email
Nov 28, 2011
3:42 pm
Hello, I wanna have a function for log to a file completely Async. without openning it repeatedly, just one time in start of program and end of it , but can't...
973 rhegner Offline Send Email Nov 28, 2011
3:42 pm
Try date.BeginInvoke(ae.End(0, r => AfterCancel(r)), null); this should work when AfterCancel returns an int. Robert....
974 Minimalist Manager
test@... Send Email
Nov 28, 2011
3:42 pm
ERROR: You (nmarler@...) are not subscribed to this list. SOLUTION: Send a message to minimalist@... with a subject of 'help' (no...
975 Minimalist Manager
test@... Send Email
Nov 28, 2011
3:43 pm
ERROR: You (francis_er3@...) are not subscribed to this list. SOLUTION: Send a message to minimalist@... with a subject of 'help' (no quotes)...
Messages 946 - 975 of 1043   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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