-
一个有关定时器的例程,一个很基础的咚咚,哎
一个有关定时器的例程,一个很基础的咚咚,哎-A timer routine, based on a very咚咚, hey
- 2022-08-20 06:20:28下载
- 积分:1
-
线程的同步
虽然多线程能给我们带来好处,但是也有不少问题需要解决。例如,对于像磁盘驱动器这样独占性系统资源,由于线程可以执行进程的任何代码段,且线程的运...
线程的同步
虽然多线程能给我们带来好处,但是也有不少问题需要解决。例如,对于像磁盘驱动器这样独占性系统资源,由于线程可以执行进程的任何代码段,且线程的运行是由系统调度自动完成的,具有一定的不确定性,因此就有可能出现两个线程同时对磁盘驱动器进行操作,从而出现操作错误;又例如,对于银行系统的计算机来说,可能使用一个线程来更新其用户数据库,而用另外一个线程来读取数据库以响应储户的需要,极有可能读数据库的线程读取的是未完全更新的数据库,因为可能在读的时候只有一部分数据被更新过。-thread synchronization Although multithreading can bring us benefits, but there a lso many problems to be solved. For example, as disk drives such exclusivity system resources and can thread the process of implementation of any code, and the thread running by the scheduling system automatically and to a certain extent the uncertainty, So, then there could be two threads while the disk drives operate, which have operational errors; For example, For the computer banking system, may use a thread to update users of its database, and use another thread to read a database to respond to the needs of depositors, Reading is very likely to read threads database is not fully update the database, Reading may be because the time was only part of the updated dat
- 2022-03-26 17:09:07下载
- 积分:1
-
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间...
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间的通信不但是难以避免的,而且在多线程编程中也是复杂和频繁的,下面将进行说明。-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
-
如果对Windows开发有什么问题的话,请翻阅PetZold的著作吧。在《Window程序设计》(第5版)中,这位杰出的“Windows先锋
奖”(Wind...
如果对Windows开发有什么问题的话,请翻阅PetZold的著作吧。在《Window程序设计》(第5版)中,这位杰出的“Windows先锋
奖”(Windows Pioneer Award)获得者根据最新的Windows操作系统权威技术修订了他的经典著作――再一次演示了基本的Win32程
序设计的API核心内容。本书的内容包括: ** 基本内容――输入、输出和对话框 ** Unicode概述 ** 图形――绘图、文本和字体、位
图和元文件 ** 内核和打印机 ** 声音和音乐 ** 动态链接库 ** 多任务和多线程 ** 多文档界面 ** Internet和 Intranet的程序设计
其中采用的大多是具有代表性的示例,这本Petzold著作为使用 Windows 95、Windows 98或 Windows NT的各级windows程序员提
供了最基本的参考和指导。没有经验的开发人员也可以从中获取大量的新知识。 -err
- 2022-03-21 20:44:21下载
- 积分:1
-
"C Primer" complementary code, "C Primer" complementary code
《C++ Primer》配套代码,《C++ Primer》配套代码-"C Primer" complementary code, "C Primer" complementary code
- 2022-03-12 14:57:36下载
- 积分:1
-
操作系统的课程报告,关于内存的分区,分配,回收,以及分页置换功能!...
操作系统的课程报告,关于内存的分区,分配,回收,以及分页置换功能!-The operating system programs report on the memory partition, distribution, recycling, and the replacement paging features!
- 2022-10-02 10:00:03下载
- 积分:1
-
Delphi编程
delphi编程-delphi programming
- 2022-03-18 04:46:24下载
- 积分:1
-
一个多任务应用程序。带有四个彩色转轮的应用程序,每个彩色转轮都按自己的线程运行。其中两个使用OnIdle函数;另外两个则作为独立的线程运行。...
一个多任务应用程序。带有四个彩色转轮的应用程序,每个彩色转轮都按自己的线程运行。其中两个使用OnIdle函数;另外两个则作为独立的线程运行。-a multi-tasking applications. Color wheel with four applications, each color wheel has its own threads to run. Two of them use OnIdle function; The other two were used as the independent threads running.
- 2022-05-17 14:55:08下载
- 积分:1
-
多
多进程的解决方案 :
创建一个包含四个窗口的多任务模拟:第一个窗口必须显示一系列的递增偶数;第二个窗口必须显示一系列的递增素数;第三个窗口必须显示任意半径的圆;第四个窗口必须显示一系列的随机矩形。-multi-process solution : Create a window contains four multi-task simulation : a window to show a series of incremental even; The second window must show a series of incremental prime; The third window must demonstrate arbitrary radius of the circle; The fourth window must show a series of random Rectangular.
- 2022-06-16 21:29:06下载
- 积分:1
-
CTR
ctr-del-alt就能看到系统的进程,你是否也想在你的程序中显示出来呢?看完这个代码你在可以轻松在ABOUT中显示出来,不用再显示什么磁盘的容量等信息了,换个花样吧-ctr- del-alt system will be able to see the process, do you also think your procedures are displayed? Reading the code you can relax in ABOUT revealed, no longer shows any disk capacity information, a change in the Mood for it
- 2023-07-20 08:35:03下载
- 积分:1