-
我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同...
我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同的格式显示这些数据。文档对象为了有规律地采集数据,它需要一个定时(time)事件。但是,文档不是一个基于窗口的对象,所以它没有这样的定时事件。我权衡了三种解决方案: 1、在其中的一个视图中创建定时器。当事件发生时通知文档对象获取数据。 2、为每一个文档(或在每个文档内)创建一个单独的线程,以便这个线程能有规律地创建时间事件。 3、在CMainFrame中创建一个定时器并从中调用文档函数这三种方法我都不满意。能否给出一种更好的解决方案?
- 2023-07-11 15:35:03下载
- 积分:1
-
simulation creation process (to establish a record type data structure PCB) : th...
模拟创建进程(建立一个记录型数据结构PCB):给出进程标识、状态、到达时间、运行时间等用先来先服务调度算法进行模拟实现-simulation creation process (to establish a record type data structure PCB) : the process of identification is given, state, arrival time, the time spent running a first-come first-service scheduling algorithm Simulation
- 2022-07-27 22:06:40下载
- 积分:1
-
This is a single
这是一个单线程的源代码单线程应该是除了主线程外的唯一的一个线程-This is a single-threaded the source code should be the main thread outside the only one thread
- 2022-02-16 00:41:57下载
- 积分:1
-
Process scheduling, memory, process scheduling to understand the situation and k...
进程调度,了解内存中进程调度情况,知道进程在内存中运行情况-Process scheduling, memory, process scheduling to understand the situation and know the process running in memory of
- 2022-02-26 15:51:29下载
- 积分:1
-
很好的,我朋友花钱买的,希望对java初学者有所帮组
很好的,我朋友花钱买的,希望对java初学者有所帮组-good, I spend money to buy friends, and I hope to have java help beginners group
- 2022-07-24 16:09:37下载
- 积分:1
-
threads how communications, explained here. The operating system is threaded pro...
线程怎么通信,这里有解释.线程就是操作系统分配给处理器的基本单元.系统为没一个线程分配一个堆栈-threads how communications, explained here. The operating system is threaded processors allocated to the basic unit. No one system to allocate a thread stack
- 2022-04-18 18:38:17下载
- 积分:1
-
一个workhorsing线程的C++类封装,可以作为中间件方便地创建、启动、暂停、同步、释放一个线程。只需要在这个类上派生新的类,重载虚函数run(),这个函...
一个workhorsing线程的C++类封装,可以作为中间件方便地创建、启动、暂停、同步、释放一个线程。只需要在这个类上派生新的类,重载虚函数run(),这个函数包含需要被执行的代码-A workhorsing thread C++ Type of package can be used as middleware to easily create, start, pause, synchronized release of a thread. Only in this category on a new type of derivative, overloaded virtual function run (), this function contains the code needs to be implemented
- 2022-10-12 22:20:03下载
- 积分:1
-
一个多线程的例子,很简单
一个多线程的实例,很简单 -a multithreaded example, a very simple
- 2022-10-14 16:20:03下载
- 积分:1
-
利用DELPHI下标准的多线程类TThread来完成我们多现程的设计
利用DELPHI下标准的多线程类TThread来完成我们多现程的设计-use under standard multithreaded category TThread to finish what we design is the way
- 2022-01-23 10:53:19下载
- 积分:1
-
a multithreaded programming examples threads will be able to set priorities, deb...
一个vb多线程编程实例,能够设置线程优先级,已经调试能够执行。-a multithreaded programming examples threads will be able to set priorities, debugging can be implemented.
- 2022-07-26 17:04:37下载
- 积分:1