搜索资源列表
src
- 进程管理 实验目的 掌握进程的概念,深入理解进程的含义。认识并理解并发环境中进程执行的实质问题,了解构成并发机制的进程创建过程; 了解在进程创建后通过对进程控制的系统调用,可实现对进程的有效控制。掌握在进程执行中对进程进行睡眠、同步、撤消等控制方法; 分析进程竞争资源的现象,学习解决进程互斥的方法。 实验内容 1、创建新的进程;查看运行进程;换出某个进程;杀死运行进程。 2、采用写者优先重写P94的读者-写者问题,并通过一个读写序列,将算法与读者优先算法进行比较
OS-process-reader-and-writer
- 进程同步互斥和读者写者问题,C实现-Process synchronization exclusive and readers who wrote
Do2
- 窗口鼠标同步器源码。可以同步多个窗口的鼠标操作-Window mouse synchronization source. You can synchronize multiple windows mouse
1
- Windows中的线程与线程同步现象.创建两个线程,一个对 i 执行加 1 操作,另一个对 i 执行减 1 操作。两个线程执行相同的次数。-Windows threads and thread synchronization.
tsc_sync
- check TSC synchronization for Linux.
producer_consumer
- 进程间的生产者与消费者问题,2个生产者,3个消费者,缓冲区个数为3。通过信号量和互斥体对象实现了进程间的同步,通过文件映射实现了进程间的通信。-Producer and consumer issues between processes, two producers, three consumers, the number of buffers is 3. By semaphores and mutexes object implements synchronization, file mapp
mutex
- 本实验讨论临界区问题及其解决方案。实验首先创建两个共享数据资 源的并发线程。在没有同步控制机制的情况下,我们将看到某些异常现象。 针对观察到的现象,本实验采用两套解决方案: • 利用Windows 的mutex 机制 • 采用软件方案 然后比较这两种方案的性能优劣。-In this study, discuss problems and solutions critical region. Experiment first create two share
Mutex
- VC2010-08-25-VC++6.0下利用互斥量同步线程来实现文件读取进度条-VC2010-08-25-VC++6.0 under mutex synchronization of threads to use for file reading progress bar
Exchanger
- A synchronization point at which threads can pair and swap elements within pairs.
image_chaso
- 基于混沌同步的图像加密仿真代码 完美加密-Image encryption based on chaos synchronization perfect simulation code encryption
lorzen_image
- 基于混沌同步的图像加密一的方法 完美加密-Chaos synchronization of image encryption method based on a perfect encryption
ZYWQuartzClock
- 这是一个简单的石英钟小程序,跟随系统时间同步运行。界面非常美观。该源码适合于初学C#网络编程的朋友们,有兴趣的可以下载学习下。-This is a simple quartz clock applet, follow the system time synchronization operation. The interface is very beautiful. The source is suitable for novice C# Network Programming friends,
duoxiancheng
- 多线程同步实验代码。实现在linux的环境下多线程同步的通信-Multithreaded code synchronization experiments. Implementation in the Linux multithreaded synchronization under the environment of communication
windows
- 设计并实现Unix的“time”命令。“mytime”命令通过命令行参数接受要运行的程序,创建一个独立的进程来运行该程序,并记录程序运行的时间。 在Windows下实现: ◦ 使用CreateProcess()来创建进程 ◦ 使用WaitForSingleObject()在“mytime”命令和新创建的进程之间同步 ◦ 调用GetSystemTime()来获取时间 -Design and implementation of Unix &qu
CountDownLatch
- A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes.
AbstractQueuedLongSynchronizer
- A version of AbstractQueuedSynchronizer in which synchronization state is maintained as a <tt>long< tt>.
LockSupport
- Basic thread blocking primitives for creating locks and other synchronization classes.
AbstractQueuedLongSynchronizer
- A version of AbstractQueuedSynchronizer in which synchronization state is maintained
LockSupport
- Basic thread blocking primitives for creating locks and other synchronization classes.
AbstractQueuedLongSynchronizer
- A version of AbstractQueuedSynchronizer in which synchronization state is maintained