搜索资源列表
msg
- 消息队列是一个链表,链表的每一个结点是一个消息。消息队列存放在内核中并由消息队列标示符标识。 对消息队列的操作有下面三种类型: a. 打开或创建消息队列 int msgget(key_t key, int flag) 参数key是一个键值,由ftok函数获得, flg参数是一些标志位。函数返回与健值key相对对应的消息队列描述字。 b. 读写操作 int msgsnd(int msqid, const void *ptr, size_t nbytes, int flag
Stack-and-queue-simple-Test
- 实现数据结构中关于栈与队列的基础内容,栈的内容包括顺序栈、链式栈、用栈实现斐波那契函数以及两个栈实现共享空间,队列内容包括顺序队列、链式队列-Implementation of the data structure on the stack and the contents of the queue, the contents of the stack, including the stack, chain stack, with the stack to achieve Fibonacci f