Development of. NET Multi-Threading

Source: Internet
Author: User
Tags apm
  1. APM and EAP are two different asynchronous programming modes prior to async/await.
  2. If APM does not block the main thread, then the completion notification (callback) will be executed in another thread, causing some problems with updating the UI.
  3. The notification events for EAP are performed in the main thread, and there is no UI interaction problem.
  4. Finally, we learned about the interaction between different threads under WinForm, as well as SynchronizationContext.
  5. APM is the first asynchronous programming method under. NET, which has been available since. NET1.0. In. NET2.0, Microsoft realized the problem with UI interaction in the callback function of APM and brought in a new EAP. APM and EAP coexist to. NET3.5, when in. NET4.0, Microsoft brings TPL, which is what we know about task programming, and. NET4.5 is the async/await that we are all aware of and can see. NET has been constantly improving, coupled with the recent continuous and open source community collaboration, cross-platform features such as the introduction of, we have reason to believe. NET will go as well as possible.

Development of. NET Multi-Threading

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.