搜索资源列表
os
- 使用c语言编写的实现操作系统的作业调度算法的程序,作业信息可手动输入,也可从附带的文本文件中读取
读者与写者模拟
- 在Windows Xp 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制分别实现读者优先和写者优先的读者-写者问题。 读者-写者问题的读写操作限制: 读者-写者的读写限制(包括读者优先和写者优先) 1)写-写互斥,即不能有两个写者同时进行写操作 2)读-写互斥,即不能同时有一个读者在读,同时却有一个写者在写 3)读读允许,即可以有2个以上的读者同时读 将所有的读者和所有的写者分别放进两个等待队列中,当读
clsProcess
- 进程操作的类,可以从进程名枚举进程PID,也可以从窗口标题查找,打开进程,读取长整型,写入长整型,读取字节数组,写入字节数组.压缩包内包含有一个破解示例,破解掉一个判断密码是否正确的程序(仅在内存中进行,不破坏原文件)-Process operations class, you can enumerate the process name from the process PID, you can search for the title from the window, open the pr
MultilineAPIload
- 实现双线程高效下载 线程A从网络中读取一个数据块,存储到内存的缓存中。 线程B从缓存中读取内容,存储到文件中。-mutilineload Aline read datablockfrominternet ,save to the buffer in RAM. Bline read context from buffer,then save to file.
3pcf
- windows下多线程计算3pcf问题的源码 直接编译运行即可 从文件中读取数据-Under the multi-threaded computing 3pcf windows source code directly compile and run the problem can be read from the file
HW3
- c语言,多线程实现简单的终端处理器,读取文件,遇到特殊字符时采取相应操作 -A multi-threaded program using the pthread library. Your assignment is to write a program that emulates a simple terminal handler. The terminal handler process consists of three threads. Thread 1reads charac
Threaded
- 多线程程序,未进行数据保护。程序打开一个text文件,线程按行从文件中读取数据同时计算每行 的字母数为奇数和偶数的单词的个数,然后关闭文件,输出最后的结果。 -Multithreaded programs, for data protection. Program opens a text file, thread by line read from the file while in each of the line An odd number of letters and even
os
- 功能是在进程间完成文件的传送。一个发送进程把两个文件送入消息队列,另外两个接收进程分别从消息队列各自接收一个文件。该例由3个源程序文件组成:user.h 是共用的头部文件,filesnd.c的功能是把两个文件读出并发送到消息队列,filercv.c的功能是从消息队列读取文件。-Function is to complete the file transfer between processes. A sending process the two files into the message q
ReadFile
- Visual C++利用互斥量同步线程实现文件读取进度条-Visual C++ :using mutex thread synchronization to read file with show in the progress bar
Filesearch
- 主要是一个C++方面的小项目,使用了多线程的方式和MFC的界面,程序读取文件夹中的文本文件,然后判断文件中是否有指定字符串。使用信号量来维持线程间的通信,用临界区来保护资源。-Is a C++ aspects of small items, use the text file on multiple threads, and the MFC interface, the program reads the file in the folder, and then determine whethe
TerminateSomeEXE
- SetPrivilege提升本进程权限,从一个文件读取进程名称通过CreateToolhelp32Snapshot Process32First查找其它进程, 从而终止其它的进程-SetPrivilege permission to enhance this process, read from a file process name by CreateToolhelp32Snapshot Process32First, Find other processes to terminate oth
readfile
- VC++ 6.0 多线程读取文件的例子 适合初学者-6.0 multithreaded VC++ read file example for beginners
create-process
- 创建两个进程,让子进程读取一个文件,父进程等待子进程读取完文件后继续执行,实现进程协同工作。 进程协同工作就是协调好两个进程,使之安排好先后次序并以此执行,可以用等待函数来实现这一点。当需要等待子进程运行结束时,可在父进程中调用等待函数。 -Create two processes, allowing the child to read a file, read the parent process waits for the child process to continue exe
producer-and-consumer
- 创建4个POSIX线程。其中2个线程(A和B)分别从2个数据文件(data1.txt和data2.txt)读取10个整数. 线程A和B把从文件中读取的逐一整数放入一个缓冲池. 缓冲池由n个缓冲区构成(n=5,并可以方便地调整为其他值),每个缓冲区可以存放一个整数。另外2个线程,C和D,各从缓冲池读取10数据。线程C、D每读出2个数据,分别求出它们的和或乘积,并打印输出。-Creating four POSIX threads. Where two threads (A and B) were r
GenerateMobileModel
- 本程序主要通过管道实现两个进程间的通信。主要功能是一个进程从手机机型文件中随机读取一个机型,然后通过管道传给另一个进程。-The program is mainly for communication between two processes through the pipeline. The main feature is a random process model reads a file the phone model, and then passed to another proc
MFC4D
- MFC 写的框架程序,包含分割视图,多视图,浮动对话框,多线程、进度条读取文件。 代码简单,覆盖面广-Framework of MFC programs, including split view, multiple views, floating dialog box, multithreading, progress bar to read the file.The code is simple, wide coverage
6VideoPlayer_6
- 一个简易的视频播放器,有UI,利用ffmpeg及sdl播放h264视频,通过将文件解码读取帧信息将图像绘制出来-This is a simple video player,which can play h264 type files,Including ffmpeg and sdl library.
realoze
- 用udp实现可靠数据传递,从本机固定位置读取一个文件-Using udp to realize reliable data transmission, read a file the machine fixed position
evtmapwithBMP
- bmp位图文件的读取与保存,可以借此熟悉bmp的文件结构-BMP bitmap file reading and save, to be familiar with the BMP file structure
hsle-page-read
- delphi文本文件的逐行读取,将文本文件从记事本中读到页面中来-Delphi text file to read line by line, the text file to read the notepad page