搜索资源列表
LsCommDemo
- LsComm就一个多线程同进接收串口信息的类库,本示例向大家展示如何使用它。示例实现了一个简洁易用的多线程串行通讯接口,可以以切换查询和自动接收两种模式进行对串口数据收发。实现选择串口、选择接收模式、发送数据、同步接收数据、异步接收数据等。-LsComm on a multi-threaded serial port to receive the same information into the library, the examples demonstrate how to use it.
os
- 分别利用UNIX的消息通信机制、共享内存机制(用信号灯实施进程间的同步和互斥)实现两个进程间的数据通信。具体的通信数据可从一个文件读出,接收方进程可将收到的数据写入一个新文件,以便能判断数据传送的正确性(对文件操不熟悉的同学可不必通过读写文件,只要键盘输入和输出至屏幕进行比较即可)。 -, Respectively, using the information communication mechanism UNIX, shared memory mechanism (with tr
product_consumer
- 生产者消费者问题。使用3个信号量。其中2个信号量avail和full解决同步问题。还有一个mutex解决互斥问题-Producers of consumer issues. The use of three semaphores. One volume of two signals simultaneously avail and full settlement of the issue. There is also a solution to mutual exclusion mutex pr
ThreadEvent
- 利用事件对象实现线程同步,适合于Winodws系统编程,对初学者很有帮助-use Event Thread,suitable to beginer of windows use Visual C++
linuxsystemdslab
- 包含了各个单元的linux实验源码,包括进程同步、互斥、文件系统、存储管理等的实现。-it includes many unit,such as produces and so on.
pyinotify
- 大量小文件的实时同步方案,通过Hash Tree来实现同步,既有通过日志来同步的软实时特点(msyql, bdb等),也可以保证最终数据的一致性(rsync, unison等)。Hash Tree的大体思路是将所有数据存储成树状结构,每个节点的Hash是其所有子节点的Hash的Hash,叶子节点的Hash是其内容的Hash。这样一旦某个节点发生变化,其Hash的变化会迅速传播到根节点。需要同步的系统只需要不断查询跟节点的hash,一旦有变化,顺着树状结构就能够在logN级别的时间找到发生变化的内
FolderBackup
- 该代码功能是支持自动把一个源文件夹的内容同步备份到目标文件夹。程序具有实时监控目标文件夹的功能,可以指定两种方式备份,一种是按时备份,一种是当源文件夹发生改变时进行快速备份,有点类似杀毒软件的监控功能。-The code function is to support a source folder automatically synchronize the contents of the backup to the destination folder. Program with real-ti
DelphiWindowshexinbiancheng
- 本书是一本介绍Windows核心技术及高级技巧的专著。从系统内核编程出发,使用大量的例子帮助读者理解这些编程技术,讲述了线程同步及隐藏、系统钩子深入分析、读写物理磁盘的关键技术、读写物理内存和其他进程内存的核心技术、Windows 9x下调用16位实模式和保护模式代码的核心技术、直接读写端口技术、可执行文件加壳的技巧、PE结构分析、Ring0的实现、Windows API截取技术、屏幕取词技术等方面的内容。全书对热点源代码进行了深入剖析和讲解,同时本书汇聚了作者利用Soft-ICE跟踪调试经验,
pricisetimer
- 精确定时器,可实现微秒级别的分辨,在数据采集同步等过程中很有用-it is a pricise timer with micro second precise,which is used in data sampling and some other mux process
time
- 实现类似windows下系统时间同步的程序,可以自己改同步的服务器,希望有用-Windows to achieve a similar procedure under the system time synchronization, you can synchronize your server to change the hope that useful
testThread
- 操作系统 同步互斥 生产者消费者问题 c语言实现 -Producer and Consumer
1
- 操作系统 生产者与消费者问题 掌握进程(线程)的同步与互斥。 掌握生产者消费者问题的实现方法-The operating system to master the process of issue of producers and consumers (thread) synchronization and mutual exclusion. Grasp the realization method of the producer consumer problem
pralle_shell
- 本程序为Linux下的简易shell,支持多通道和重定向,并可并发同步运行linux程序。-Under Linux this program is simple shell, multi-channel and redirect, and can simultaneously run linux programs concurrently.
comcommu
- 针对现在工业监控中的缺乏多路串口同时监测的手法,通过开辟多线程以及线程同步解决了多串口同时监测的问题-Intended for industrial monitoring and control in the absence of multi-channel serial port simultaneously monitor the way, through the creation of multi-threading and thread synchronization to solve
pthread
- pthread同步信号量解决生产者消费者问题-pthread producer consumer synchronization semaphores to solve the problem
consumer
- 题目二:用多进程同步方法解决生产者-消费者问题。 说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1-20这20个整型数. 设计要求:(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者线程的标识符.(2)生产者和消费者各有两个以上.(3)多个生产者或多个消费者之间须有共享对缓冲区进行操作的函数代码.-Title 2: The multi-process synchronization solution to
liao
- 进程同步与互斥 该代码非常完善的展现的经典进程同步与互斥问题——生产者和消费者问题的同步与互斥过程!-Process synchronization and mutual exclusion of the code is very well exhibited the classic process of synchronization and mutual exclusion problem- the problem of producers and consumers the proce
os-assignment
- 操作系统实现的同步:消费著,生产者。以及其他系统同步的程序。 -The operating system to achieve synchronization: consumer, producers. As well as other system synchronization process.
ex3
- 用win32同步对象解决临界区问题,用win32提供的同步对象中的任一种,解决兄弟问题,修改sm6.cpp,使用互斥对象Mutex ,用互斥对象Mutex,使得两个进程中的某些个处于wait状态,而一个处于运行态-Synchronization with the win32 object to solve critical problems, with the win32 synchronization objects provided by any one, to solve the pr
ex4
- 解决有限缓冲区问题,用Win32提供的同步对象解决有限缓冲区问题,修改sm6.cpp,在它的基础上修改线程函数并予以控制。用一个Symbol区分线程类型,用事件对象实现线程互斥的运行 -To solve the problem with limited buffers, using Win32 synchronization objects to provide limited buffers to solve the problem, modify sm6.cpp, on the basi