Click here to Skip to main content
15,895,283 members
Home / Discussions / C#
   

C#

 
AnswerRe: Throughput/Design Problem Pin
Pete O'Hanlon28-Jun-07 5:11
mvePete O'Hanlon28-Jun-07 5:11 
AnswerRe: Throughput/Design Problem Pin
led mike28-Jun-07 5:14
led mike28-Jun-07 5:14 
GeneralRe: Throughput/Design Problem Pin
tobriain28-Jun-07 5:37
tobriain28-Jun-07 5:37 
GeneralRe: Throughput/Design Problem Pin
led mike28-Jun-07 6:25
led mike28-Jun-07 6:25 
GeneralRe: Throughput/Design Problem Pin
tobriain28-Jun-07 6:41
tobriain28-Jun-07 6:41 
GeneralRe: Throughput/Design Problem Pin
pbraun28-Jun-07 11:26
pbraun28-Jun-07 11:26 
GeneralRe: Throughput/Design Problem Pin
tobriain28-Jun-07 11:34
tobriain28-Jun-07 11:34 
GeneralRe: Throughput/Design Problem Pin
tobriain2-Jul-07 9:36
tobriain2-Jul-07 9:36 
Phil, I've just one question about your suggestion, and would appreciate you help as you've obviously spent time putting together something robust along the same lines.

At the moment, if I create multiple RTDServers, all the different calls to UpdateNotify() will be on the same thread. Is that correct? Should I thread them out, so that the initial calls can be made on separate threads?

Could I just create a delegate with the same signature as my RTDUpdates method and make a call to BeginInvoke in the UpdateNotify method to queue all the updates on the ThreadPool? (It doesn't matter if the updates are not processed in order). If I do something like that, do I need a dummy EndInvoke to close the AsyncWaitHandle?

When UpdateNotify is called, could I make a call to to a new method (one that calls the RefreshData method) with BeginInvoke, and then set up the RTDUpdates method as the callback method?

I'd appreciate any pointers you could give me on this, as I'm sure some of the above are illadvised for various reasons.

Best regards,

Tom.
GeneralRe: Throughput/Design Problem Pin
pbraun3-Jul-07 5:48
pbraun3-Jul-07 5:48 
GeneralRe: Throughput/Design Problem Pin
tobriain28-Jun-07 6:43
tobriain28-Jun-07 6:43 
GeneralRe: Throughput/Design Problem Pin
led mike28-Jun-07 7:00
led mike28-Jun-07 7:00 
Questionthe underscore character in front of a variable Pin
brsecu28-Jun-07 4:54
brsecu28-Jun-07 4:54 
AnswerRe: the underscore character in front of a variable Pin
Luc Pattyn28-Jun-07 4:56
sitebuilderLuc Pattyn28-Jun-07 4:56 
JokeRe: the underscore character in front of a variable Pin
CPallini28-Jun-07 5:14
mveCPallini28-Jun-07 5:14 
QuestionFileSystem based Collection (Queue) Pin
BaraMustafa28-Jun-07 4:53
BaraMustafa28-Jun-07 4:53 
AnswerRe: FileSystem based Collection (Queue) Pin
DanB198328-Jun-07 11:23
DanB198328-Jun-07 11:23 
AnswerRe: FileSystem based Collection (Queue) Pin
pbraun28-Jun-07 11:47
pbraun28-Jun-07 11:47 
QuestionWord.ApplicationClass Pin
Civic0628-Jun-07 4:44
Civic0628-Jun-07 4:44 
AnswerRe: Word.ApplicationClass Pin
Luc Pattyn28-Jun-07 4:54
sitebuilderLuc Pattyn28-Jun-07 4:54 
QuestionHow does non-blocking file access work? Pin
martin_hughes28-Jun-07 4:30
martin_hughes28-Jun-07 4:30 
AnswerRe: How does non-blocking file access work? Pin
Luc Pattyn28-Jun-07 5:02
sitebuilderLuc Pattyn28-Jun-07 5:02 
GeneralRe: How does non-blocking file access work? Pin
martin_hughes28-Jun-07 7:17
martin_hughes28-Jun-07 7:17 
QuestionMultiple selection in a datagrid Pin
-spy-28-Jun-07 4:14
-spy-28-Jun-07 4:14 
AnswerRe: Multiple selection in a datagrid Pin
mnaveed28-Jun-07 5:15
mnaveed28-Jun-07 5:15 
QuestionMulti Lingual Website Pin
Brendan Vogt28-Jun-07 3:51
Brendan Vogt28-Jun-07 3:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.