搜索资源列表
ossystem
- 基于DOS的多任务系统的实现 1. 用C语言完成线程的创建和撤消,并按优先权加时间片轮转算法对多个线程进行调度; 2. 改变时间片的大小,观察结果的变化。思考:为什么时间片不能太小或太大; 3. 假设两个线程共用同一软件资源(如某一变量,或某一数据结构),请用记录型信号量来实现对它的互斥访问; 4. 假设有两个线程共享一个可存放5个整数的缓冲,一线程不停的计算1到50的平方,并将结果放入缓冲中,另一个线程不断的从缓冲中取出结果,并将他们打印出来,请用记录型信号量实现这一生产者和消
philosopher.c
- 哲学家问题的解决,对于并发程序以及多线程的一个简单的解决-philosopher solve the problem, and for the concurrent program in a multithreaded simple solution
multhread
- 自己写的一个在VISUAL C++下的多线程程序,可以运行。大家用用看看把!
VIRTUMEM
- 本实验是在win2000+VC6.0上实现的,实例程序利用Windows SDK编制,所以实验需要在windows下安装VC后进行。而VC是一个集成开发环境,其中包含了Windows SDK的所有定义和工具,所以安装了VC后就不用再安装SDK了。 这里由于用到了多线程编程,我们还需要设置一下编译环境,选中菜单project-> settings,在左边列表中选中工程名,在右边选中c/c++项,将其下\"project options\"中的默认值MLd改为MTd。
reader-writerproblem
- 用c实现读者写者问题,为每一个读者和写者都创建了一个线程,显示读者或写者自定义标识符、当前指针、存储区内容
BankTrans
- 操作系统的多线程问题,用c语言做的,银行问题-The issue of multi-threaded operating system, using c language do banking problems
Bank
- 使用Visual C++ 6.0开发,纯算法(不涉及进程和线程)模拟银行家算法,测试通过,为我的操作系统实验的雏形。Console模式。-The use of Visual C++ 6.0 development, net algorithm (does not involve the process and thread) analog bankers algorithm, the test for my operating system, the embryonic form of the
scxf2
- 创建生产者和消费者线程 C语言文件管理操作系统中的是通过目录项来的-product and consumer
4.7.c
- 操作系统概念(第七版)第四章作业,pthread线程答案-Operating System Concepts (7th Edition) Chapter IV operations, pthread thread is the answer
Main
- C语言用函数指针实现多线程,类似于操作系统之任务调度,仅有任务状态,使用循环计数以大概模拟延时。-a little virtul os,just for understanding the multi task and learning hao to use function pointer.
lifashi
- C++的多线程解决嗜睡的理发师的问题, 有关操作系统课程设计的代码。 -Barber problem
CPPscheduling-elevator
- 操作系统线程进程同步思想利用,电梯调度,包括c++,c语言版本-Used in operating system.Writen by c++ and c language,scheduling the elevator.
Pthread
- Linux 环境之下对线程的基本操作,C语言描述,适用于初学者-pthread bacis using ,good for the green hand
homework-1
- webServer实现线程池,用Java和C语言实现。-webServer achieve thread pool, with Java and C language.
lab5_ZiyinWang
- 这是一个电梯程序,多线程编程时常用的一个模版 具体内容请看readme. 操作系统课程的经典作业!-This is a improved version of elevator simulation. The form of command line instruction is ./elevator a b c d e f a: number of elevators b: number of floors c how often people arrive d: el