搜索资源列表
LinuxIPC进程间的通信
- Linux 操作系统提供进程间通信(IPC)机制,用来保证正在执行的进程在内核的协调下能够 共享资源、同步以及交换数据等。Linux 支持大量进程间通信机制,包括信号、等待队列、管道 以及Unix 系统V 中提供的进程间通信机制,如消息队列、信号量和共享内存。-Linux operating system to provide inter-process communication (IPC) mechanism used to ensure that the process is being
wait
- Flash中内置了一个状态寄存器(Status Register,SR)来指示Flash的当前工作状态和各种操作是否成功。要读取SR的当前值需要向CUI发送读状态寄存器命令(Read Status Register),命令码为0x70,SR中的内容将在DQ[7:0]上输出。The Read Status Register (0x70)command causes subsequent reads to output data from the SR until another command i
thread
- 线程池里所有运行和等待的任务都是一个CThread_worker 由于所有任务都在链表里,所以是一个链表结构 -Thread pool and wait for all the tasks are running a CThread_worker Since all tasks are in the linked list, it is a linked list structure
socket2
- 基于linux操作系统下的socket编程,完成一个简单聊天工具。服务器端首先:向内核申请一个socket。第二绑定地址到socket上,地址包括主机、端口。第三在socket上,允许接入呼叫并设置队列长度为1.第四等待/接受呼叫。第五传输数据(及可以聊天)。 客户端:第一向内核请求建立socket 第二与服务器相连。第三传输数据 -Linux operating system based on the socket programming, to complete a simple
adc-s3c2410
- 此驱动程序使用了等待队列,信号量,中断注册。另外要特别留意write函数被实现为从用户空间传入数模转换通道号(频道)和分频的值(预分频),read函数则传出转换好的数据。对于预分频传入和读取,本驱动程序并未使用到,当多路转换时,这个值则要充分利用,并且需要一种多路转换的实现方法了。-This driver uses a wait queue, semaphores, interrupt register. Also pay special attention to write function
priority-inversion
- it detects the priority inversion where the high priority task need not have to wait for low priority task
copy
- Linux进程控制:父进程打开一个文件,然后创建两个子进程。子进程1将打开文件中的小写字母换成大写字母。子进程2将文件内容读出后打印。父进程等待两个子进程结束以后关闭文件,结束。 -Linux process control: a parent process opens a file, and then create two sub-processes. A child process will open the file in lowercase letters replaced by