首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > 程序创建两个线程,第一个线程没有消息队列,主线程尝试给第一个线程发送一个消息,我们可以看到PostThreadMessage()返回FALSE,程序创建的第二个...

程序创建两个线程,第一个线程没有消息队列,主线程尝试给第一个线程发送一个消息,我们可以看到PostThreadMessage()返回FALSE,程序创建的第二个...

  • 资源大小:78.34 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Windows开发

资 源 简 介

程序创建两个线程,第一个线程没有消息队列,主线程尝试给第一个线程发送一个消息,我们可以看到PostThreadMessage()返回FALSE,程序创建的第二个线程有一个消息队列,主线程中的PostThreadMessage()返回TRUE,程序由Visual C++ 6.0开发,没有用到MFC-process creates two threads, one thread without Message Queue, the main thread to thread a resolution to send a message, we can see PostThreadMessage () returns FALSE, establish procedures to the second thread is a message queue, the main threads of PostThreadMessage () returns TRUE, procedures Visual C 6.0, did not use the MFC

文 件 列 表

Debug
Q1.exe
Q1.cpp
Q1.dsp
Q1.dsw
Q1.opt
Q1.plg
StdAfx.cpp
StdAfx.h
VIP VIP
0.169996s