Click here to Skip to main content
15,886,565 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sqlite with c# unsigned long problem Pin
Dimitri Witkowski17-Feb-10 19:29
Dimitri Witkowski17-Feb-10 19:29 
GeneralRe: Sqlite with c# unsigned long problem Pin
abhinish17-Feb-10 22:46
abhinish17-Feb-10 22:46 
QuestionShell Extention Pin
aurelcly17-Feb-10 6:44
aurelcly17-Feb-10 6:44 
AnswerRe: Shell Extention Pin
Keith Barrow17-Feb-10 6:53
professionalKeith Barrow17-Feb-10 6:53 
QuestionWindows Application Management Pin
Ankur .K. Vishwakarma17-Feb-10 6:35
professionalAnkur .K. Vishwakarma17-Feb-10 6:35 
AnswerRe: Windows Application Management Pin
Keith Barrow17-Feb-10 6:43
professionalKeith Barrow17-Feb-10 6:43 
QuestionWaitAny coincident event signalling [solved] Pin
paul_b_baker17-Feb-10 6:14
paul_b_baker17-Feb-10 6:14 
AnswerRe: WaitAny coincident event signalling Pin
Nicholas Butler17-Feb-10 8:29
sitebuilderNicholas Butler17-Feb-10 8:29 
paul_b_baker wrote:
It would have been better if subsequent calls to WaitHandle.WaitAny provided the index to these other signalled events on subsequent calls but it doesn't work like that.


Are you sure?

An AutoResetEvent remains signalled until it is used to satisfy a wait. WaitHandle.WaitAny is no different in that respect to WaitOne. So if two events are signalled at the same time, one will win the race to satisfy the wait and WaitAny will return it's index. The next WaitAny will succeed immediately and return the index of the other event.

Unless you mean that it is one event that is being signalled twice and one of the signals is being lost. This is a known problem with AutoResetEvent. If this is the case, you will have to use a different synchronization mechanism.

Nick
----------------------------------
Be excellent to each other Smile | :)

GeneralRe: WaitAny coincident event signalling Pin
paul_b_baker17-Feb-10 21:26
paul_b_baker17-Feb-10 21:26 
GeneralRe: WaitAny coincident event signalling Pin
paul_b_baker17-Feb-10 21:55
paul_b_baker17-Feb-10 21:55 
GeneralRe: WaitAny coincident event signalling Pin
#realJSOP18-Feb-10 0:15
mve#realJSOP18-Feb-10 0:15 
GeneralRe: WaitAny coincident event signalling Pin
Nicholas Butler18-Feb-10 1:48
sitebuilderNicholas Butler18-Feb-10 1:48 
QuestionFind blank element in Array Pin
Sunil G17-Feb-10 3:21
Sunil G17-Feb-10 3:21 
AnswerRe: Find blank element in Array Pin
Keith Barrow17-Feb-10 3:28
professionalKeith Barrow17-Feb-10 3:28 
GeneralRe: Find blank element in Array Pin
Sunil G17-Feb-10 3:33
Sunil G17-Feb-10 3:33 
GeneralRe: Find blank element in Array Pin
Keith Barrow17-Feb-10 3:55
professionalKeith Barrow17-Feb-10 3:55 
AnswerRe: Find blank element in Array Pin
harold aptroot17-Feb-10 3:35
harold aptroot17-Feb-10 3:35 
GeneralRe: Find blank element in Array Pin
Rob Philpott17-Feb-10 6:01
Rob Philpott17-Feb-10 6:01 
AnswerRe: Find blank element in Array Pin
PIEBALDconsult17-Feb-10 8:11
mvePIEBALDconsult17-Feb-10 8:11 
GeneralRe: Find blank element in Array Pin
Anurag Gandhi17-Feb-10 17:53
professionalAnurag Gandhi17-Feb-10 17:53 
QuestionWindows Forms, ComboBoxes. Pin
Nexusfactor17-Feb-10 3:11
Nexusfactor17-Feb-10 3:11 
AnswerRe: Windows Forms, ComboBoxes. Pin
Dave Kreskowiak17-Feb-10 3:40
mveDave Kreskowiak17-Feb-10 3:40 
QuestionSMTP Client - amount of bytes send out of attached files. Pin
fracalifa17-Feb-10 2:53
fracalifa17-Feb-10 2:53 
AnswerRe: SMTP Client - amount of bytes send out of attached files. Pin
Dave Kreskowiak17-Feb-10 3:29
mveDave Kreskowiak17-Feb-10 3:29 
GeneralRe: SMTP Client - amount of bytes send out of attached files. Pin
fracalifa17-Feb-10 3:45
fracalifa17-Feb-10 3:45 

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.