Click here to Skip to main content
15,914,767 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adhoc networking using windows application in VS2005 Pin
musefan31-Mar-09 5:12
musefan31-Mar-09 5:12 
GeneralRe: Adhoc networking using windows application in VS2005 Pin
alish061031-Mar-09 20:17
alish061031-Mar-09 20:17 
QuestionOpenFileDialog Pin
netJP12L31-Mar-09 4:22
netJP12L31-Mar-09 4:22 
AnswerRe: OpenFileDialog Pin
musefan31-Mar-09 4:30
musefan31-Mar-09 4:30 
AnswerRe: OpenFileDialog Pin
Giorgi Dalakishvili31-Mar-09 4:39
mentorGiorgi Dalakishvili31-Mar-09 4:39 
Questionc# 2005 add_In Excel 2003 Pin
sofianeannabi31-Mar-09 4:13
sofianeannabi31-Mar-09 4:13 
QuestionMulti-threading - Parallel Syncronization Pin
caksabre231-Mar-09 4:12
caksabre231-Mar-09 4:12 
AnswerRe: Multi-threading - Parallel Syncronization Pin
Luc Pattyn31-Mar-09 4:54
sitebuilderLuc Pattyn31-Mar-09 4:54 
Hi,

why are you creating new ManualResetEvents all the time? I would create them once, and resuse them, i.a. call Set(), Reset() and Wait/WaitAll() as required, no more no less. Replacing one ManualResetEvent by another you are risking signaling or waitinf for one that isn't actually in business any more.

Whatever you do, you must allow for any or all of your threads not to get any CPU cycles at all for some time, e.g. because some high-priority thing suddenly happens.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


AnswerRe: Multi-threading - Parallel Syncronization Pin
Ian Shlasko31-Mar-09 5:02
Ian Shlasko31-Mar-09 5:02 
AnswerRe: Multi-threading - Parallel Syncronization Pin
Alan N31-Mar-09 5:17
Alan N31-Mar-09 5:17 
GeneralRe: Multi-threading - Parallel Syncronization Pin
caksabre231-Mar-09 5:37
caksabre231-Mar-09 5:37 
Questionwhy button_click event raising 2 times? Pin
Narendra Reddy Vajrala31-Mar-09 3:43
Narendra Reddy Vajrala31-Mar-09 3:43 
AnswerRe: why button_click event raising 2 times? Pin
stancrm31-Mar-09 3:47
stancrm31-Mar-09 3:47 
GeneralRe: why button_click event raising 2 times? Pin
Narendra Reddy Vajrala31-Mar-09 3:57
Narendra Reddy Vajrala31-Mar-09 3:57 
GeneralRe: why button_click event raising 2 times? Pin
Ian Shlasko31-Mar-09 4:02
Ian Shlasko31-Mar-09 4:02 
GeneralRe: why button_click event raising 2 times? Pin
Narendra Reddy Vajrala31-Mar-09 4:12
Narendra Reddy Vajrala31-Mar-09 4:12 
AnswerRe: why button_click event raising 2 times? Pin
musefan31-Mar-09 3:54
musefan31-Mar-09 3:54 
GeneralRe: why button_click event raising 2 times? Pin
Narendra Reddy Vajrala31-Mar-09 3:57
Narendra Reddy Vajrala31-Mar-09 3:57 
GeneralRe: why button_click event raising 2 times? Pin
musefan31-Mar-09 4:02
musefan31-Mar-09 4:02 
GeneralRe: why button_click event raising 2 times? Pin
Narendra Reddy Vajrala31-Mar-09 4:16
Narendra Reddy Vajrala31-Mar-09 4:16 
GeneralRe: why button_click event raising 2 times? Pin
musefan31-Mar-09 4:21
musefan31-Mar-09 4:21 
GeneralRe: why button_click event raising 2 times? Pin
Narendra Reddy Vajrala31-Mar-09 4:32
Narendra Reddy Vajrala31-Mar-09 4:32 
GeneralRe: why button_click event raising 2 times? Pin
musefan31-Mar-09 4:34
musefan31-Mar-09 4:34 
GeneralRe: why button_click event raising 2 times? Pin
Colin Angus Mackay31-Mar-09 4:30
Colin Angus Mackay31-Mar-09 4:30 
GeneralRe: why button_click event raising 2 times? Pin
Narendra Reddy Vajrala31-Mar-09 4:40
Narendra Reddy Vajrala31-Mar-09 4:40 

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.