Click here to Skip to main content
15,895,606 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# and Services/Event Viewer Pin
led mike24-Jun-08 9:33
led mike24-Jun-08 9:33 
AnswerRe: C# and Services/Event Viewer Pin
Ravi Bhavnani24-Jun-08 14:26
professionalRavi Bhavnani24-Jun-08 14:26 
GeneralC# locks and atomicity Pin
Judah Gabriel Himango24-Jun-08 8:49
sponsorJudah Gabriel Himango24-Jun-08 8:49 
GeneralRe: C# locks and atomicity Pin
Ennis Ray Lynch, Jr.24-Jun-08 10:09
Ennis Ray Lynch, Jr.24-Jun-08 10:09 
GeneralRe: C# locks and atomicity Pin
Judah Gabriel Himango24-Jun-08 10:23
sponsorJudah Gabriel Himango24-Jun-08 10:23 
GeneralRe: C# locks and atomicity Pin
Ennis Ray Lynch, Jr.24-Jun-08 10:38
Ennis Ray Lynch, Jr.24-Jun-08 10:38 
GeneralRe: C# locks and atomicity Pin
Judah Gabriel Himango24-Jun-08 11:21
sponsorJudah Gabriel Himango24-Jun-08 11:21 
GeneralRe: C# locks and atomicity Pin
User 665824-Jun-08 10:34
User 665824-Jun-08 10:34 
I can only imagine OnDoSomethingCompletedAsync being called twice in a row without a call to Foo() inbetween, so that isWorking is set to false when the second call to OnDoSomethingCompletedAsync is made.

I'm not sure if this can happen after two calls to Foo, and the (rare?) case that both async methods will be called after each other. I can't reproduce this behavior even in a while loop on my machine, though.


regards

modified 12-Sep-18 21:01pm.

GeneralRe: C# locks and atomicity Pin
Judah Gabriel Himango24-Jun-08 11:10
sponsorJudah Gabriel Himango24-Jun-08 11:10 
GeneralRe: C# locks and atomicity Pin
User 665824-Jun-08 11:21
User 665824-Jun-08 11:21 
GeneralRe: C# locks and atomicity Pin
Joe Woodbury24-Jun-08 10:56
professionalJoe Woodbury24-Jun-08 10:56 
GeneralRe: C# locks and atomicity Pin
Judah Gabriel Himango24-Jun-08 10:59
sponsorJudah Gabriel Himango24-Jun-08 10:59 
GeneralRe: C# locks and atomicity Pin
leppie24-Jun-08 20:01
leppie24-Jun-08 20:01 
GeneralRe: C# locks and atomicity Pin
Judah Gabriel Himango25-Jun-08 5:01
sponsorJudah Gabriel Himango25-Jun-08 5:01 
GeneralRe: C# locks and atomicity Pin
Frank Horn24-Jun-08 22:36
Frank Horn24-Jun-08 22:36 
GeneralRe: C# locks and atomicity Pin
Judah Gabriel Himango25-Jun-08 5:06
sponsorJudah Gabriel Himango25-Jun-08 5:06 
GeneralRe: C# locks and atomicity Pin
Frank Horn25-Jun-08 21:30
Frank Horn25-Jun-08 21:30 
GeneralRe: C# locks and atomicity Pin
Judah Gabriel Himango26-Jun-08 5:12
sponsorJudah Gabriel Himango26-Jun-08 5:12 
GeneralRe: C# locks and atomicity Pin
Frank Horn26-Jun-08 7:50
Frank Horn26-Jun-08 7:50 
GeneralRe: C# locks and atomicity Pin
Judah Gabriel Himango26-Jun-08 8:28
sponsorJudah Gabriel Himango26-Jun-08 8:28 
GeneralRe: C# locks and atomicity Pin
Frank Horn26-Jun-08 9:48
Frank Horn26-Jun-08 9:48 
GeneralRe: C# locks and atomicity Pin
Judah Gabriel Himango26-Jun-08 12:08
sponsorJudah Gabriel Himango26-Jun-08 12:08 
GeneralRe: C# locks and atomicity Pin
Frank Horn26-Jun-08 20:44
Frank Horn26-Jun-08 20:44 
QuestionGet Struct Element by string Pin
robert rodgers24-Jun-08 8:47
robert rodgers24-Jun-08 8:47 
AnswerRe: Get Struct Element by string Pin
Judah Gabriel Himango24-Jun-08 10:24
sponsorJudah Gabriel Himango24-Jun-08 10:24 

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.