Click here to Skip to main content
15,888,288 members
Home / Discussions / C#
   

C#

 
QuestionRe: SafeHandle.SetOwnership(false) Pin
HosamAly15-Nov-08 3:13
HosamAly15-Nov-08 3:13 
GeneralRe: SafeHandle.SetOwnership(false) Pin
HosamAly15-Nov-08 3:32
HosamAly15-Nov-08 3:32 
QuestionREQ: C# Ordinary Kriging Interpolation implementation Pin
MavKilla15-Nov-08 1:19
MavKilla15-Nov-08 1:19 
AnswerRe: REQ: C# Ordinary Kriging Interpolation implementation Pin
annukar18-May-11 10:24
annukar18-May-11 10:24 
GeneralRe: REQ: C# Ordinary Kriging Interpolation implementation Pin
MavKilla19-May-11 6:43
MavKilla19-May-11 6:43 
GeneralRe: REQ: C# Ordinary Kriging Interpolation implementation Pin
Eddrick8-Jan-13 15:36
Eddrick8-Jan-13 15:36 
QuestionWeird behaviour with Async method call Pin
kensai15-Nov-08 0:57
kensai15-Nov-08 0:57 
AnswerRe: Weird behaviour with Async method call Pin
Guffa15-Nov-08 6:01
Guffa15-Nov-08 6:01 
kensai wrote:
Am I understanding async calls wrong?


Yes. Obviously you expect the code in the LongProcess to start immediately when you call the BeginInvoke method, but that doesn't happen.

A new thread is started to run the method, and you can't predict exactly when that thread starts to run. Unless you have a multi-core processor, the thread running the LongProcess method will rarely start before you call Tread.Sleep in the main thread.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Weird behaviour with Async method call Pin
kensai16-Nov-08 1:01
kensai16-Nov-08 1:01 
Questionforms or usercontrols or panels or what ? Pin
jogisarge15-Nov-08 0:07
jogisarge15-Nov-08 0:07 
AnswerRe: forms or usercontrols or panels or what ? Pin
zafersavas15-Nov-08 12:58
zafersavas15-Nov-08 12:58 
GeneralRe: forms or usercontrols or panels or what ? Pin
jogisarge15-Nov-08 23:35
jogisarge15-Nov-08 23:35 
QuestionForeach URL in file... Pin
jas0n2314-Nov-08 23:14
jas0n2314-Nov-08 23:14 
AnswerRe: Foreach URL in file... Pin
Wendelius14-Nov-08 23:26
mentorWendelius14-Nov-08 23:26 
GeneralRe: Foreach URL in file... Pin
jas0n2315-Nov-08 0:48
jas0n2315-Nov-08 0:48 
GeneralRe: Foreach URL in file... Pin
Wendelius15-Nov-08 1:29
mentorWendelius15-Nov-08 1:29 
GeneralRe: Foreach URL in file... Pin
jas0n2315-Nov-08 1:33
jas0n2315-Nov-08 1:33 
QuestionHow to send Left/Right shift keys? Pin
MRafeie14-Nov-08 22:58
MRafeie14-Nov-08 22:58 
Questionadd-on Pin
AmbitiousBeginner14-Nov-08 22:51
AmbitiousBeginner14-Nov-08 22:51 
QuestionImage retrieving [modified] Pin
B8714-Nov-08 21:32
B8714-Nov-08 21:32 
AnswerRe: Image retrieving Pin
Wendelius14-Nov-08 22:59
mentorWendelius14-Nov-08 22:59 
GeneralRe: Image retrieving Pin
nelsonpaixao15-Nov-08 5:06
nelsonpaixao15-Nov-08 5:06 
QuestionRequiring registration code Pin
Edward Hoad14-Nov-08 18:50
Edward Hoad14-Nov-08 18:50 
AnswerRe: Requiring registration code Pin
MavKilla15-Nov-08 1:34
MavKilla15-Nov-08 1:34 
QuestionA question about s singleton applicaiton? Pin
Jason_Shen14-Nov-08 15:14
Jason_Shen14-Nov-08 15: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.