搜索资源列表
1243693139
- VC下进行缓冲区操作, 如一个线程写,一个线程读取并存储 当然使用队列 这是为具体工程写的队列的例子工程-buffer under VC operation, such as writing a thread, a thread to read and storage of course this is the use of Queue works written for specific examples of projects Q
Queue111
- JAVA数据结构与算法之队列小应用程序-Java data structures and algorithms queue small applications
数据结构算法集---C++语言实现
- 常用的C++数据结构算法,包括队列、堆栈、链表...等.以模板类型式实现-C common data structure algorithms, including queue, stack, etc. List .... To achieve template-type
MyComm
- 一个排队机伺服器的测试程序源代码,有队列模拟,呼号终端扫描等功能。-a Queue server testing procedures source code, a cohort simulation, call terminal scanning capabilities.
processschedule
- 本人的操作系统题目,用优先级算法实现进程调度,可以随时添加进程进入就绪队列。-subject of the operating system, with priority scheduling algorithm process, the process can be added at any time into ready queue.
msgq
- 这是一个关于用消息队列进行通信的小程序源码,makefile是在sco下的,如果在linux下可能要加socket的链接库-This is a message queue on the use of small communications procedures source, makefile in the sco, if under Linux may have to increase the socket libraries
ucos_message
- 该代码采用c5400dsp的汇编语言和c语言实现ucos操作系统,并在操作系统之上实现一个消息队列,实现消息的发送于接收。-c5400dsp of assembly language and c CENTER language operating system and the operating system is implemented on top of a message queue, to achieve the sender
进程12
- 进程之间以时间片为单位,进行唤醒,调用,当时间片到后,进程就进入等待队列,而且是按优先级进行调用。-processes with time-unit, awakened, called when time-to the post, the process would enter the waiting queue, but is carried out according to priority calls.
实例70
- WINSOCK程序设计共分为客户端和服务器端程序两部分,要求实现功能:服务器端要能监听客户端连接请求,为客户端的连接请求建立SOCKET队列,处理各个客户端发送的数据,并向响应客户端发送应答信息,更新服务器端的端口号。-Winsock program design consists of client and server-side procedures in two parts, requires the function : ser
进程调度试验
- 进程调度是处理机管理的核心内容。本实验要求用C语言编写和调试一个简单的进程调度程序。通过本实验可以加深理解有关进程控制块、进程队列的概念,并体会和了解优先数和时间片轮转调度算法的具体实施办法-scheduling process management processor is the core content. The experiment called for using the C language and debug a simp
用c实现的商品货架算法
- 问题描述: 假设一个商店,它有一个货架和一个仓库,当货架上的商品数量少于一定的数目时,从仓库运一定数量的商品摆到货架上,当仓库里的商品的数量少于一定的数目时,购买商品把仓库填满,商品的出售要按照商品的生产日期来,快要过期的商品要先出售。 解决问题的方法: 用了两个栈和 一个队列,把队列当作仓库,用一个栈作为货架,把另一个栈当作临时的存储箱。当要往货架上添商品时,先把作为货架的栈中的元素全都压到作为存储箱的栈中,再把仓库中的元素压到存储箱
QueueMgr
- 基于队列中挂起的任务数自动调整线程数,使用策略来提供灵活性和可扩展性-It can auto-adjust threads basing on queue-hanging up,which also use strategies for flexiblility and extensibility.
XQueue_demo
- 通过内存文件映象实现了一个FIFO消息队列,可以工作在所有的windows版本中-a FIFO message queue with memory map,compatible all windows version.
pSOSystem系统调用的例程
- psos调用实例,包括了任务创建,队列,分区,多播等的使用-PsOS Call example, including the creation of a task, queue, zoning, such as multicast use
生产者与消费者
- 程序用C++模拟了操作系统中的三种最典型的简单的静态进程调度算法;先由用户动态输入生成模拟进程,使用了26种可供用户选择的典型语句(包括循环、选择结构),可处理整型、布尔型与字符型三种数据与表达式计算;程序编制时主要采用的编程技术是:用语句链表记录进程语句,并用PCB链表,就绪队列链表,阻塞队列链表,执行队列链表,结束队列链表等数据表示进程处理过程中的相互关系,由于静态数据结构不适合处理数据量大小不定的数据,而动态队列结构适合于处理数据
image-4
- ex4.14 图元识别问题« 问题描述:在数字化图像处理中常将一幅图像表示为一个m´ m 的像素矩阵。其中每个像素的值为0或1。值为0的像素表示图像的背景,而值为1 的像素表示图像中某个图元上的一个点,通常称其为图元像素。当一个像素在另一个像素的上方、下方、左侧或右侧时,称这2个像素为相邻像素。一幅图像中的相邻像素属于同一图元,而不相邻的像素属于不同图元。图元识别问题就是对给定图像的图元像素进行标记,使得同一图元
queu0
- 一个典型的队列的实现代码,完成了队列的所有操作,及一个简单的入队出队调用实例.-The achieve code of typical queu do the whole opertaion and a simple transfer example of in and out queu.
QueueTest
- VC++ 封装了队列类 /// /// /// ///// //this a example for using Queue ///////////////////////////////////////// #include \"Queue.h\" //define queue data struct struct QueueData { char data[20] int nId } //define queue typedef
停车场模拟
- 利用栈和队列实现停车场的管理,包括车的进出及计费。-use stack and queue to achieve the management of car parks, including vehicle access and billing.
H1
- 进程优先算法,进程调度是处理机管理的核心内容。本实验要求用C语言编写和调试一个简单的进程调度程序。通过本实验可以加深理解有关进程控制块、进程队列的概念,并体会和了解优先数和时间片轮转调度算法的具体实施办法-process priority algorithm, the process of scheduling processor is the core content management. The experiment called