Click here to Skip to main content
15,893,337 members
Home / Discussions / C#
   

C#

 
AnswerRe: custom pipeline - biztalk 2009 - how to loop through Ibasemessage.bodypart Pin
Mirko198017-Feb-10 22:48
Mirko198017-Feb-10 22:48 
QuestionMessage Removed Pin
17-Feb-10 11:38
JimBob SquarePants17-Feb-10 11:38 
AnswerRe: Trouble deleting items using generic xml provider. Pin
AspDotNetDev17-Feb-10 12:11
protectorAspDotNetDev17-Feb-10 12:11 
QuestionTreeView Pin
mbangh17-Feb-10 10:58
mbangh17-Feb-10 10:58 
AnswerRe: TreeView Pin
PIEBALDconsult17-Feb-10 12:09
mvePIEBALDconsult17-Feb-10 12:09 
GeneralRe: TreeView Pin
mbangh17-Feb-10 15:02
mbangh17-Feb-10 15:02 
AnswerRe: TreeView Pin
Dan Mos17-Feb-10 17:16
Dan Mos17-Feb-10 17:16 
GeneralRe: TreeView Pin
mbangh18-Feb-10 4:15
mbangh18-Feb-10 4:15 
GeneralRe: TreeView Pin
Dan Mos18-Feb-10 9:59
Dan Mos18-Feb-10 9:59 
QuestionSqlite with c# unsigned long problem Pin
abhinish17-Feb-10 8:09
abhinish17-Feb-10 8:09 
AnswerRe: Sqlite with c# unsigned long problem Pin
Dimitri Witkowski17-Feb-10 9:03
Dimitri Witkowski17-Feb-10 9:03 
GeneralRe: Sqlite with c# unsigned long problem Pin
abhinish17-Feb-10 19:14
abhinish17-Feb-10 19:14 
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 

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.