Click here to Skip to main content
15,889,863 members
Home / Discussions / C#
   

C#

 
GeneralRe: MSMQ Pin
RobCroll19-Aug-11 17:15
RobCroll19-Aug-11 17:15 
QuestionUse a static method / class? Pin
gmhanna18-Aug-11 8:29
gmhanna18-Aug-11 8:29 
AnswerRe: Use a static method / class? Pin
V.18-Aug-11 21:11
professionalV.18-Aug-11 21:11 
AnswerRe: Use a static method / class? Pin
Shameel18-Aug-11 22:49
professionalShameel18-Aug-11 22:49 
AnswerRe: Use a static method / class? Pin
BobJanova18-Aug-11 23:08
BobJanova18-Aug-11 23:08 
Questionplz brack my licence Pin
saqibali211918-Aug-11 8:11
saqibali211918-Aug-11 8:11 
AnswerCross-post Pin
Wendelius18-Aug-11 8:13
mentorWendelius18-Aug-11 8:13 
GeneralRe: Cross-post Pin
fjdiewornncalwe18-Aug-11 8:17
professionalfjdiewornncalwe18-Aug-11 8:17 
GeneralRe: Cross-post Pin
Wendelius18-Aug-11 8:20
mentorWendelius18-Aug-11 8:20 
AnswerRe: plz brack my licence Pin
#realJSOP18-Aug-11 8:19
mve#realJSOP18-Aug-11 8:19 
QuestionDatagridview.rowvalidating event question Pin
Davey_guan18-Aug-11 4:54
Davey_guan18-Aug-11 4:54 
AnswerRe: Datagridview.rowvalidating event question Pin
BobJanova18-Aug-11 5:23
BobJanova18-Aug-11 5:23 
AnswerRe: Datagridview.rowvalidating event question Pin
Alan N18-Aug-11 5:32
Alan N18-Aug-11 5:32 
GeneralRe: Datagridview.rowvalidating event question Pin
Davey_guan18-Aug-11 18:09
Davey_guan18-Aug-11 18:09 
QuestionInter-Process Signalling with "unlimited" processes? Pin
Don Rolando18-Aug-11 4:44
Don Rolando18-Aug-11 4:44 
AnswerRe: Inter-Process Signalling with "unlimited" processes? Pin
BobJanova18-Aug-11 5:30
BobJanova18-Aug-11 5:30 
GeneralRe: Inter-Process Signalling with "unlimited" processes? Pin
Don Rolando18-Aug-11 10:03
Don Rolando18-Aug-11 10:03 
GeneralRe: Inter-Process Signalling with "unlimited" processes? Pin
SledgeHammer0118-Aug-11 10:28
SledgeHammer0118-Aug-11 10:28 
AnswerRe: Inter-Process Signalling with "unlimited" processes? Pin
jschell18-Aug-11 12:42
jschell18-Aug-11 12:42 
Don Rolando wrote:
In a simple hello world application this worked pretty well; but in some other
application exactly the same approach never passes the second WaitOne(). Just as
if noone would call Set anymore (but the other process still
does!)
 



I bet you were doing work in there.

Do this instead.

1. Create a thread safe notify queue (just a queue which moves a flag)
2. Create a thread that does NOTHING but wait for the notification and post to the queue. For safety use a timeout.
3. Create another thread that does the work. It does the work when something shows up on the queue.

You can implement 1/2 completely independently from the real version of 3 using whatever simulated work load you want.
GeneralRe: Inter-Process Signalling with "unlimited" processes? Pin
Don Rolando18-Aug-11 21:36
Don Rolando18-Aug-11 21:36 
GeneralRe: Inter-Process Signalling with "unlimited" processes? Pin
jschell19-Aug-11 7:23
jschell19-Aug-11 7:23 
QuestionDatagrdiviewcell.errortext Pin
Davey_guan18-Aug-11 3:38
Davey_guan18-Aug-11 3:38 
AnswerRe: Datagrdiviewcell.errortext Pin
OriginalGriff18-Aug-11 6:04
mveOriginalGriff18-Aug-11 6:04 
GeneralRe: Datagrdiviewcell.errortext Pin
Davey_guan18-Aug-11 18:05
Davey_guan18-Aug-11 18:05 
Questioni got error when i try to connect to my WebService Pin
goldsoft17-Aug-11 21:47
goldsoft17-Aug-11 21:47 

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.