▍1. mult-test
visual c++控制台多线程demo(vc muti-thread demo)
windows下使用多线程对哲学家就餐问题进行仿真(Dining philosophers problem algorithm simulation)
功能是仲裁访问的互斥体,包含创建数据文件,创建仲裁的互斥体,根据文件创建100个线程来读写,关闭对象(Function is to arbitrate access mutex,Includes creating a data file, create a mutex arbitration, creates 100 threads to read and write in the paper, close the object)
多线程求卷积1)数据矩阵:256*256 –原始矩阵设置:随机50个点设置为255,其余为0 2)卷积核:5*5 –明确注明所设计的卷积核 3)迭代次数:100 –每5次迭代保存一次数据矩阵 –通过20个结果矩阵,生成动画 初始矩阵随机生成,随机分配50个数的值为255(Multithreading convolution 1) Data Matrix: 256* 256- the original matrix settings: a randomized 50-point set to 255, the rest is 02) convolution kernels: 5* 5- convolution kernel designed specifically stated 3) Iterations: 100- once every five iterations save data matrix- matrix results through 20, randomly generated initial matrix generated animation, randomly assigned number is 255 50)
多线程,创建子线程,包括信号量、事件、互斥等线程资源保护机制。(Multi-threaded, create sub-threads, including semaphores, events, mutexes, thread and other resource protection mechanism.)
多线程,创建子线程,包括信号量、事件、互斥等线程资源保护机制。(Multi-threaded, create sub-threads, including semaphores, events, mutexes, thread and other resource protection mechanism.)
线程的同步控制.可以看出线程的同步和互斥!里面的代码以及函数都很简单(Thread synchronization control)
线程的同步控制.可以看出线程的同步和互斥!里面的代码以及函数都很简单(Thread synchronization control)
多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编 写网络聊天室程序(Multithreaded program, multithreaded applications easily arise. Mutex object to explain how to use mutex object to realize multi-thread synchronization. How to use named mutex object to ensure that only one instance of the application running. Multithreaded applications compiled Write Internet chat room procedures)
多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编 写网络聊天室程序(Multithreaded program, multithreaded applications easily arise. Mutex object to explain how to use mutex object to realize multi-thread synchronization. How to use named mutex object to ensure that only one instance of the application running. Multithreaded applications compiled Write Internet chat room procedures)
使用多线程进行文件的查找,有一个缺点就是占用的资源太多了,但是速度会快。(Using multi-threaded file search, there is a drawback is that the resources too much, but the speed will be faster.)
使用多线程进行文件的查找,有一个缺点就是占用的资源太多了,但是速度会快。(Using multi-threaded file search, there is a drawback is that the resources too much, but the speed will be faster.)
进程通信,接收者进程、发送者进程,消息,句柄(process communication ,receiver processer,sender processer,message)
进程通信,接收者进程、发送者进程,消息,句柄(process communication ,receiver processer,sender processer,message)
采用多线程技术,在任务管理器上显示CPU正弦曲线,挺有意思的,《编程之美》中提到过的(Multi-threading technology, the task manager shows CPU sine curve, very interesting, " Programming of the United States" in the mentioned)
labwindows/cvi 多线程实例 经过自己修改(labwindows/cvi multi-threaded example after their changes)
任务管理器小程序,有完整的源代码,C实现 (Similar to the windows task manager, with complete source code.)
visual C++实现的进程间通信源代码(communication between the process of visual C++ achieve source code)