-
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间...
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间的通信不但是难以避免的,而且在多线程编程中也是复杂和频繁的,下面将进行说明。-Generally speaking, the application of a secondary thread is always the main thread to perform a specific task, so that main thread and secondary threads must have a channel for the transmission of information, which is the main thread and the secondary thread to communicate between. This inter-thread communication is not only inevitable, but also in multi-threaded programming is complex and frequent, the following description will be carried out.
- 2022-03-06 14:41:20下载
- 积分:1
-
发送消息给某个只知道进程句柄的程序的主窗口的程序
发送消息给某个只知道进程句柄的程序的主窗口的程序- The transmission news only knows the advancement sentence
handle for some the procedure main window procedure
- 2022-06-26 16:40:37下载
- 积分:1
-
获得系统信息,下载之,赶紧的大加,
获得系统信息,下载之,赶紧的大加,-access system information, downloading, the increase quickly, Ha Ha Ha
- 2023-07-07 00:30:03下载
- 积分:1
-
进程管理和线程管理 进程管理和线程管理
进程管理和线程管理 进程管理和线程管理-Process management process management and thread management and thread management
- 2022-04-30 01:15:38下载
- 积分:1
-
multiple thread演示,virtual系统的multiple thread,有助于教学用途
multiple thread演示,virtual系统的multiple thread,有助于教学用途-multiple thread demonstration of multiple virtual thread, and the teaching purposes
- 2022-08-22 08:34:26下载
- 积分:1
-
the NT environment hidden process, the user is unaware of the conditions, the im...
在NT环境下隐藏进程,也就是说在用户不知情的条件下,执行自己的代码的方法有很多种,比如说使用注 册表插入DLL,使用Windows挂钩等等。其中比较有代表性的是Jeffrey Richer在《Windows核心编程》中 介绍的LoadLibrary方法和罗云彬在《Windows环境下32位汇编语言程序设计》中介绍的方法。两种方法的 共同特点是:都采用远程线程,让自己的代码作为宿主进程的线程在宿主进程的地址空间中执行,从而达 到隐藏的目的。相比较而言,Richer的方法由于可以使用c/c++等高级语言完成,理解和实现都比较容易 ,但他让宿主进程使用LoadLibrary来装入新的DLL,所以难免留下蛛丝马迹,隐藏效果并不十分完美。罗 云彬的方法在隐藏效果上绝对一流,不过,由于他使用的是汇编语言,实现起来比较难(起码我写不了汇 编程序:))。笔者下面介绍的方法可以说是对上述两种方法的综合:采用c/c++编码,实现完全隐藏。并 且,笔者的方法极大的简化了远程线程代码的编写,使其编写难度与普通程序基本一致。-the NT environment hidden process, the user is unaware of the conditions, the implementation of their code There are various ways, for instance, the use of the registry into DLL, etc. linked to the use of Windows. The more representative Jeffrey Richer is the "core Windows programming" introduced by the LoadLibrary method and the Luo Bin, "under Windows 32 assembly language programming" introduced by the method. Two methods are common features are : remote threads are used to keep the code as host process threads in t
- 2022-03-23 05:27:10下载
- 积分:1
-
在VC++ 6.0中实现程序单一运行
在VC++ 6.0中实现程序单一运行-6.0 in VC procedures to achieve a single operation
- 2022-05-09 13:55:40下载
- 积分:1
-
多线程CCriticalSection好榜样
多线程的比较好的例子 CCriticalSection-multithreaded good example CCriticalSection
- 2022-03-05 04:22:45下载
- 积分:1
-
辞程序能进行文件的加密,运行时实现多线程。
辞程序能进行文件的加密,运行时实现多线程。-File encryption, multi-threaded run-time.
- 2022-05-05 01:40:41下载
- 积分:1
-
win 2000, XP and 2003 ctrl alt del shielding the source
win 2000、XP和2003下屏蔽ctrl+alt+del的源码-win 2000, XP and 2003 ctrl alt del shielding the source
- 2022-03-07 14:30:42下载
- 积分:1