Click here to Skip to main content
15,881,248 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: i got error when i try to connect to my WebService Pin
Nagy Vilmos17-Aug-11 22:22
professionalNagy Vilmos17-Aug-11 22:22 
AnswerRe: i got error when i try to connect to my WebService Pin
Subin Mavunkal18-Aug-11 8:25
Subin Mavunkal18-Aug-11 8:25 
Questionhow to handle ink In Microsoft.ink sdk Pin
zoyakhan17-Aug-11 21:39
zoyakhan17-Aug-11 21:39 
AnswerRe: how to handle ink In Microsoft.ink sdk Pin
BobJanova18-Aug-11 1:20
BobJanova18-Aug-11 1:20 
QuestionInheriting a template class [modified] Pin
Subin Mavunkal17-Aug-11 2:17
Subin Mavunkal17-Aug-11 2:17 
AnswerRe: Inheriting a template class [modified] Pin
Pete O'Hanlon17-Aug-11 2:19
mvePete O'Hanlon17-Aug-11 2:19 
AnswerRe: Inheriting a template class Pin
BobJanova17-Aug-11 3:09
BobJanova17-Aug-11 3:09 
AnswerRe: Inheriting a template class Pin
#realJSOP17-Aug-11 4:09
mve#realJSOP17-Aug-11 4:09 
GeneralRe: Inheriting a template class [modified] Pin
Subin Mavunkal17-Aug-11 19:28
Subin Mavunkal17-Aug-11 19:28 
GeneralRe: Inheriting a template class PinPopular
Mycroft Holmes17-Aug-11 20:04
professionalMycroft Holmes17-Aug-11 20:04 
GeneralRe: Inheriting a template class Pin
Firo Atrum Ventus17-Aug-11 20:14
Firo Atrum Ventus17-Aug-11 20:14 

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.