-
我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同...
我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同的格式显示这些数据。文档对象为了有规律地采集数据,它需要一个定时(time)事件。但是,文档不是一个基于窗口的对象,所以它没有这样的定时事件。我权衡了三种解决方案: 1、在其中的一个视图中创建定时器。当事件发生时通知文档对象获取数据。 2、为每一个文档(或在每个文档内)创建一个单独的线程,以便这个线程能有规律地创建时间事件。 3、在CMainFrame中创建一个定时器并从中调用文档函数这三种方法我都不满意。能否给出一种更好的解决方案?
- 2023-07-11 15:35:03下载
- 积分:1
-
这是我写的Win32 console Application程序来测试_beginthread函数创建多线程程序的用法以及参数传递的程序。
这是我写的Win32 console Application程序来测试_beginthread函数创建多线程程序的用法以及参数传递的程序。- This is Win32 console which I writes the Application procedure
tests the _beginthread function foundation multithreading procedure
the usage as well as the parameter transmission procedure.
- 2022-04-10 06:09:13下载
- 积分:1
-
学习辅助线程不错的例子,主线程进行一般的数学运算,辅助线程定时开启,进度条显示辅助线程运行状态...
学习辅助线程不错的例子,主线程进行一般的数学运算,辅助线程定时开启,进度条显示辅助线程运行状态-Study aids a good example of thread, the main thread that involves a general mathematical calculations, auxiliary thread regularly opened, the progress bar shows auxiliary thread running
- 2022-06-01 07:59:30下载
- 积分:1
-
一个保护多线程应用中共享资源的例子。作者: Xiangyang Liu
一个保护多线程应用中共享资源的例子。作者: Xiangyang Liu -protect a multi-threaded application resource-sharing example. Author : Liu Xiangyang
- 2022-02-24 10:06:40下载
- 积分:1
-
一个多线程编程源码
一个多线程编程源码-A multi-threaded programming source
- 2022-11-16 18:25:04下载
- 积分:1
-
是一个钩子利用的实例,使用函数
setwindowshookexw
获取全局键盘信息...
是一个钩子利用的实例,使用函数
setwindowshookexw
获取全局键盘信息-Is an example of the use of hook, use the function global keyboard access to information setwindowshookexw
- 2022-11-06 04:00:04下载
- 积分:1
-
写者优先,操作系统的经典算法,本程序带有报告,有助于操作系统的学习者分析学习...
写者优先,操作系统的经典算法,本程序带有报告,有助于操作系统的学习者分析学习-Write priority, the operating system of the classical algorithm, this procedure with the report of analysis will help learners to learn operating system
- 2022-08-16 21:14:40下载
- 积分:1
-
线程优先级示例-赛马
线程优先级示例-赛马-thread priority example- race
- 2022-08-06 22:34:54下载
- 积分:1
-
网络聊天工具,多线程,按钮的润色,背景色的设定
网络聊天工具,多线程,按钮的润色,背景色的设定-Chat internet
- 2022-09-04 04:45:03下载
- 积分:1
-
进程枚举
类似于任务管理器中的任务列表
可以列举出系统运行的进程
进程枚举
类似于任务管理器中的任务列表
可以列举出系统运行的进程-Enumeration process is similar to Task Manager task list can be listed out in the process of system operation
- 2022-05-16 23:10:28下载
- 积分:1