Send message across threads

Source: Internet
Author: User

Today, my colleague asked a question, saying that the process of sending message is the same as that of calling directly, but thread tracking finds that the process is completed in the receiving message queue. When I go home, I can see some arguments in the blog garden. I will post them here to encourage them.

Http://bbs.csdn.net/topics/390715501? Page = 1

If the specified window was created by the calling thread, the window procedure is called immediately as a subroutine. if the specified window was created by a different thread, the system switches to that thread and callthe appropriate window procedure. messages sent between threads are processed only when the processing ing thread executes message retrieval code. the sending thread is blocked until the processing ing thread processes the message.

 

 

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.