Jump to content

  • Log In with Google      Sign In   
  • Create Account

Difference between synchronous and asynchronous


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Ashandir   Members   -  Reputation: 100

Like
Likes
Like

Posted 09 January 2004 - 03:25 AM

I am doing some server and peer to peer study and I am not sure i understand what synchronous and asynchronous means. Can anyone explain this in a way that a moron like me can understand what they mean in a computer programming sense.

Sponsor:

#2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 09 January 2004 - 03:36 AM

http://tangentsoft.net/wskfaq/articles/io-strategies.html

#3 daerid   Members   -  Reputation: 354

Like
Likes
Like

Posted 09 January 2004 - 05:48 AM

Synchronous means that all actions are performed in linear order, one after the other. You''re guaranteed that when you call a function, you KNOW that it has completed when you move on to the next statement.

Asynchronous just means that you can call a function, and then resume processing without the other function returning. You usually have to have some other means of finding out when the other function returns, like callbacks or events or something of the sort.

Asynchronous programming is much more complex than synchronous.


daerid | Legends | Garage Games | Spirit | Hapy | Boost | Python | Google
"Doomed to crumble, unless we grow, and strengthen our communication" - Maynard James Keenan, Tool





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS