Click here to Skip to main content
15,914,419 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: 9/11 aid to US - really old news Pin
dan!sh 25-Jan-14 7:08
professional dan!sh 25-Jan-14 7:08 
GeneralThis must be one of the worst writeups Pin
Marc Clifton25-Jan-14 3:26
mvaMarc Clifton25-Jan-14 3:26 
GeneralRe: This must be one of the worst writeups Pin
dan!sh 25-Jan-14 3:29
professional dan!sh 25-Jan-14 3:29 
JokeRe: This must be one of the worst writeups Pin
Shameel25-Jan-14 4:36
professionalShameel25-Jan-14 4:36 
GeneralRe: This must be one of the worst writeups Pin
TheGreatAndPowerfulOz25-Jan-14 12:08
TheGreatAndPowerfulOz25-Jan-14 12:08 
GeneralRe: This must be one of the worst writeups Pin
Marc Clifton25-Jan-14 12:53
mvaMarc Clifton25-Jan-14 12:53 
GeneralRe: This must be one of the worst writeups Pin
TheGreatAndPowerfulOz25-Jan-14 13:34
TheGreatAndPowerfulOz25-Jan-14 13:34 
GeneralRe: This must be one of the worst writeups Pin
TheGreatAndPowerfulOz25-Jan-14 13:48
TheGreatAndPowerfulOz25-Jan-14 13:48 
Ok let's work through this. This is the way I understand what is being said. Note though that I am no "async" expert. In fact, I've never used the construct in C#. So, take it for what it's worth.

An async method provides a convenient way to do potentially long-running work without blocking the caller's thread.
This seems straightfoward.

The caller (say, M1) of an async method can resume its work without waiting for the async method to finish.
"The caller (say, M1)" -->

M1()
{
   await asyncMethodName();
}


However, M1 typically uses the await keyword so that it returns immediately, allowing M1’s caller to resume work or return to the thread’s synchronization context (or message pump)

SomeOtherMethod()
{
   M1();
   // execution can continue here because M1() internally used await
   M2();
}

If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

Questiontablet with multiple accounts Pin
Rob Philpott25-Jan-14 1:31
Rob Philpott25-Jan-14 1:31 
AnswerRe: tablet with multiple accounts Pin
DaveAuld25-Jan-14 1:57
professionalDaveAuld25-Jan-14 1:57 
GeneralRe: tablet with multiple accounts Pin
OriginalGriff25-Jan-14 1:57
mveOriginalGriff25-Jan-14 1:57 
AnswerRe: tablet with multiple accounts Pin
OriginalGriff25-Jan-14 1:57
mveOriginalGriff25-Jan-14 1:57 
AnswerRe: tablet with multiple accounts Pin
Marco Bertschi25-Jan-14 2:20
protectorMarco Bertschi25-Jan-14 2:20 
AnswerRe: tablet with multiple accounts Pin
tgrt25-Jan-14 3:11
tgrt25-Jan-14 3:11 
GeneralRe: tablet with multiple accounts Pin
Dr.Walt Fair, PE25-Jan-14 7:12
professionalDr.Walt Fair, PE25-Jan-14 7:12 
AnswerRe: tablet with multiple accounts Pin
Mike Hankey25-Jan-14 3:15
mveMike Hankey25-Jan-14 3:15 
GeneralRe: tablet with multiple accounts Pin
Marco Bertschi25-Jan-14 3:45
protectorMarco Bertschi25-Jan-14 3:45 
GeneralRe: tablet with multiple accounts Pin
Mike Hankey25-Jan-14 3:54
mveMike Hankey25-Jan-14 3:54 
GeneralSasha+Oculus Rift v RiftCoaster Pin
DaveAuld25-Jan-14 1:21
professionalDaveAuld25-Jan-14 1:21 
GeneralRe: Sasha+Oculus Rift v RiftCoaster Pin
OriginalGriff25-Jan-14 1:33
mveOriginalGriff25-Jan-14 1:33 
GeneralRe: Sasha+Oculus Rift v RiftCoaster Pin
DaveAuld25-Jan-14 1:38
professionalDaveAuld25-Jan-14 1:38 
GeneralRe: Sasha+Oculus Rift v RiftCoaster Pin
Gary R. Wheeler25-Jan-14 2:15
Gary R. Wheeler25-Jan-14 2:15 
GeneralRe: Sasha+Oculus Rift v RiftCoaster Pin
DaveAuld25-Jan-14 4:02
professionalDaveAuld25-Jan-14 4:02 
GeneralI'd love to help with your SQL problem...after the revolution PinPopular
JMK8925-Jan-14 0:46
professionalJMK8925-Jan-14 0:46 
GeneralRe: I'd love to help with your SQL problem...after the revolution Pin
OriginalGriff25-Jan-14 0:50
mveOriginalGriff25-Jan-14 0:50 

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.