搜索资源列表
Queue
- 队列管理封装类,包括mutex锁, 先进先出的功能-Queue management package categories, including mutex locks, the function of FIFO
FIFO
- 这个是对先进先出队列FIFO的理解,希望能帮到大家,-This is the understanding of FIFO FIFO queue and hope to help you
Train
- 利用队列结构实现车厢重排问题,其中缓冲轨按照先进先出方式-The use of a queue inside the structure to achieve the rearrangement problems, according to FIFO buffer rails way
vcFileupload
- 这是CTransferSocket_hawk的类实现文件,以下成员变量用于数据发送:数据缓存区,为一个先入先出队列,注意:队列中的数据比原始数据多4+BEGIN_TAG_LENGTH个字节,其中前4个字节用来存放原始数据的长度,接下来存放BEGIN_TAG.远程端需要长度来确定将要接收的数据块尺寸,并利用BEGIN_TAG,来判断是否有错误发生。-This is CTransferSocket_hawk class implementation file, the following membe
softhy153I
- 这是CTransferSocket_hawk的类实现文件,以下成员变量用于数据发送:数据缓存区,为一个先入先出队列,注意:队列中的数据比原始数据多4+BEGIN_TAG_LENGTH个字节,其中前4个字节用来存放原始数据的长度,接下来存放BEGIN_TAG.远程端需要长度来确定将要接收的数据块尺寸,并利用BEGIN_TAG,来判断是否有错误发生。-This is CTransferSocket_hawk class implementation file, the following membe
SBuffer
- 环形字符缓冲区 通过指针的移动,减少内容拷贝的次数 先进先出队列-Circular character buffer by moving the pointer to reduce the number of copies the contents of FIFO queue
Carriage-rearrangement
- 利用队列结构实现车厢重排问题。车厢重排问题如下: 一列货车共有n节车厢,每个车厢都有自己的编号,编号范围从1~n。给定任意次序的车厢,通过转轨站将车厢编号按顺序重新排成1~n。转轨站共有k个缓冲轨,缓冲轨位于入轨和出轨之间。开始时,车厢从入轨进入缓冲轨,经过缓冲轨的重排后,按1~n的顺序进入出轨。缓冲轨按照先进先出方式,编写一个算法,将任意次序的车厢进行重排,输出每个缓冲轨中的车厢编号。 -Queue structure compartment rearrangement. Compar
guandaoyuxinhao
- 常用的进程间通信方式 传统的进程间通信方式 无名管道(pipe)、有名管道(fifo)和信号(signal) System V IPC对象 共享内存(share memory)、消息队列(message queue)和信号灯(semaphore) BSD 套接字(socket)-Interprocess communication methods commonly used traditional inter-process communicat
FIFO
- 进程的管理 1、设计一个进程PCB的数据结构 2、设计三种进程基本状态的队列 3、创建进程,并将其送入某状态队列 4、实现进程之间状态的转换,进程转换到不同队列-Management of a process, the process of designing a data structure 2 PCB design three kinds of basic state process queue 3, the creating process, and sends it to
Queue
- 数据结构中的队列,可以实现先进先出的的功能-A queue data structure, the function can be realized FIFO
push
- 完整地描述了数据结构中的进栈过程:在堆栈中,用户只能在指定的一端插入和删除元素,因此具有后进先出(LIFO)的特性;在队列中,用户只能在一端插入元素而在另一端删除元素,因此呈现先进先出(FIFO)的特性。从数据结构角度看,它们都是线性结构。 -A complete descr iption of the data structure into the stack process: in the stack, users can insert and delete elements at on
line
- 队列是一种先进先出的线性表,它只允许在表的一端进行插入,而在另一端进行删除元素。用链表表示的队列简称链队列。一个链队列需要两个分别指向队头和队尾的指针。顺序队列除了用一组地址连续的存储单元依次存放从队头到队尾的元素外,还需要两个指针front和rear分别指示队列头元素和队列尾元素的位置。 定义顺序队列类型,实现队列的所有基本操作。 定义链队列类型,实现队列的所有基本操作。 -FIFO queue is a linear form, it only allows to insert
park
- 解决停车问题, fifo队列的构建,排队问题(Solve the problem of parking, construction of FIFO queue and queuing problem)
ringbuff
- 圆形缓冲区的一个有用特性是:当一个数据元素被用掉后,其余数据元素不需要移动其存储位置。相反,一个非圆形缓冲区(例如一个普通的队列)在用掉一个数据元素后,其余数据元素需要向前搬移。换句话说,圆形缓冲区适合实现先进先出缓冲区,而非圆形缓冲区适合后进先出缓冲区。(One of the useful properties of the circular buffer is: when a data element is used up, the rest of the data elements wit
