Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Difference between synchronous and asynchronous

4: Adsense

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   

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.

#2 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

Posted 09 January 2004 - 03:36 AM

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

#3 daerid   Members   

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.