Synchronous and asynchronous

Source: Internet
Author: User
Synchronization and Asynchronization-Linux general technology-Linux programming and kernel information. The following is a detailed description. Today, when I looked at the kernel, I suddenly found that these two concepts were not very clear. Then I went online to read some others' understandings and finally got my own understanding.
Synchronous execution means that the program can continue execution only after the call is returned. that is to say, you must do one thing and wait until the previous one is finished before you can do the next thing. just like after getting up in the morning, you can wash your hair first before you can eat. You can't start to eat when the shampoo is not complete.
Asynchronous execution means that the program can continue execution without waiting for the call to return. Similar to parallel execution.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.