Description: Linux 操作系统提供进程间通信(IPC)机制,用来保证正在执行的进程在内核的协调下能够 共享资源、同步以及交换数据等。Linux 支持大量进程间通信机制,包括信号、等待队列、管道 以及Unix 系统V 中提供的进程间通信机制,如消息队列、信号量和共享内存。-Linux operating system to provide inter-process communication (IPC) mechanism used to ensure that the process is being implemented in coordination with the core to share resources, synchronization and exchange information. Linux support a large number of inter-process communication mechanisms, including signal and wait for the queue, pipeline and the Unix System V to provide inter-process communication mechanisms, such as message queue, the signal volume and shared memory. Platform: |
Size: 605316 |
Author:杨政 |
Hits:
Description: 在Linux环境下,用C语言和信号量机制实现了五个哲学家进餐的互斥关系-the Linux environment, the C language and signal mechanism to achieve the volume of five philosophers dining mutex relations Platform: |
Size: 4032 |
Author:weixiang |
Hits:
Description: 试验目的:通过研究Linux的线程机制和信号量实现生产者消费者问题的并发控制 说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1~20这20个整型数。 要求: (1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容.当前指针位置和生产者/消费者线程的标识符 (2)生产者和消费者各有两个以上 (3)多个生产者或多个消费者之间须共享对缓冲区进行操作的函数代码。-Test Objective : To study the Linux threading mechanism and signal to producers and consumers to achieve the concurrency control : a boundary buffer There are 20 storage units, Add / remove data items for a set of 20 ~ 20-integer. Requirements : (1) Each producer and consumer sector of the buffer zone is operated, immediately after the sector showed a buffer in its entirety. The current position and producer / consumer threads identifier (2) producers and consumers have two or more (3) A number of producers or many consumers to be shared between the right to operate the buffer function code. Platform: |
Size: 8533 |
Author:张飞 |
Hits:
Description: 试验目的:通过研究Linux的线程机制和信号量实现生产者消费者问题的并发控制 说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1~20这20个整型数。 要求: (1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容.当前指针位置和生产者/消费者线程的标识符 (2)生产者和消费者各有两个以上 (3)多个生产者或多个消费者之间须共享对缓冲区进行操作的函数代码。-Test Objective : To study the Linux threading mechanism and signal to producers and consumers to achieve the concurrency control : a boundary buffer There are 20 storage units, Add/remove data items for a set of 20 ~ 20-integer. Requirements : (1) Each producer and consumer sector of the buffer zone is operated, immediately after the sector showed a buffer in its entirety. The current position and producer/consumer threads identifier (2) producers and consumers have two or more (3) A number of producers or many consumers to be shared between the right to operate the buffer function code. Platform: |
Size: 8192 |
Author:张飞 |
Hits:
Description: Linux 操作系统提供进程间通信(IPC)机制,用来保证正在执行的进程在内核的协调下能够 共享资源、同步以及交换数据等。Linux 支持大量进程间通信机制,包括信号、等待队列、管道 以及Unix 系统V 中提供的进程间通信机制,如消息队列、信号量和共享内存。-Linux operating system to provide inter-process communication (IPC) mechanism used to ensure that the process is being implemented in coordination with the core to share resources, synchronization and exchange information. Linux support a large number of inter-process communication mechanisms, including signal and wait for the queue, pipeline and the Unix System V to provide inter-process communication mechanisms, such as message queue, the signal volume and shared memory. Platform: |
Size: 605184 |
Author:杨政 |
Hits:
Description: 进程同步,哲学家进餐共享临界区变量.定义信号量机制控制进程不互斥!-process synchronization, philosopher dining area share critical variables. Definition signal to the process control mechanism not contradict! Platform: |
Size: 1024 |
Author: |
Hits:
Description: 操作系统实验指导 -以Linux系统为主
一、实验目的
(1)了解Linux系统中进程间通信的基本原理。
(2)了解和熟悉消息通信机制、共享存储区机制以及信号通信机制-Experimental guidance system- to a Linux-based system, the experiment was (1) understanding of Linux system the process of the basic principles of communication. (2) understanding and familiar with the message communication mechanism, shared memory mechanism and signal communication mechanism Platform: |
Size: 9216 |
Author:王博 |
Hits:
Description: 用多进程同步方法解决生产者——费者问题
设计目的:通过研究Linux 的进程机制和信号量实现生产者消费者问题的并发控制.
说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1-20这20个整型数.
设计要求:
(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者县城的标识符.
(2)生产者和消费者各有两个以上.
(3)多个生产者或多个消费者之间须有共享对缓冲区进行操作的函数代码.
-Multi-process synchronization solution to the producer- the issue of fees is designed to: Linux by studying the process of the mechanism and signal volume producers realize concurrency control on consumer issues. Description: Bounded buffer zone there are 20 storage units, Add/Remove the data item is set to 1-20 this 20 integer. design requirements: (1) Each producer and consumer sector of the buffer zone have to operate immediately after showing the entire contents of the buffer zone community, current pointer location and producer/consumer identifier county. (2) producers and consumers have more than two. (3) or more consumers than producers have to be shared between the conduct of the buffer zone a function of the operation code. Platform: |
Size: 4096 |
Author:heige |
Hits:
Description: 要读懂linux 内核 ,还有比这再好的资料么,什么都不说了,赶快下吧。
目 录
进程
信号
sched.c
进程信号队列
SMP
内核线程页目录的借用
代码分析
线程
进程描述符
init进程从内核态切换到用户态
SET_LINKS
REMOVE_LINKS
get_wchan()
sigframe的结构
rt_sigframe结构
信号队列的结构
内核线程简介
进程切换简介
同步机制
-To read linux kernel, as well as better information than you, say nothing, are you as soon as possible. Directory of the process of signal process sched.c signal SMP kernel thread queue directory page analysis of threaded code to use the process of the process descriptor init-state switch from the kernel to the user state SET_LINKS REMOVE_LINKS get_wchan () sigframe structure rt_sigframe structure within the structure of the signal queue About the process of nuclear thread synchronization mechanism for switching Profile Platform: |
Size: 81920 |
Author:edward |
Hits:
Description: linux下利用信号通信机制写的通信程序-linux signal communication mechanism to make use written communication program Platform: |
Size: 2048 |
Author:朱博 |
Hits:
Description: linux的信号实验,帮助理解linux的信号机制-linux signal experiments to help understand the signaling mechanism linux Platform: |
Size: 1024 |
Author:lili |
Hits:
Description: linux下的c编程入门,linux开发环境,进程环境,进程控制,进程关系,进程通信,信号机制,网络编程-entry under linux c programming, linux development environment, process environment, process control, process relationships, process communication, signal mechanism, network programming Platform: |
Size: 65536 |
Author:litan |
Hits:
Description: 信号是在软件层次上对中断机制的一种模拟,是进程间通信机制中唯一的异步通信机制。
示例中给出了信号的使用方法-Signal in linux looks like software interrupt mechanism and it is the only asynchronous communication mechanism in inter-process communication.
Example codes shows us how to use the signal.
Platform: |
Size: 5120 |
Author:y |
Hits:
Description: 作者:华清远见嵌入式学院。《Linux设备驱动开发详解》(08&09年度畅销榜TOP50)第7章、Linux设备驱动中的并发控制。Linux设备驱动中必须解决的一个问题是多个进程对共享资源的并发访问,并发访问会导致竞态。Linux提供了多种解决竞态问题的方式,这些方式适合不同的应用场景。7.1节描述了并发和竞态的概念及发生场合。7.2~7.5节分别讲解了中断屏蔽、原子操作、自旋锁和信号量等并发控制机制。7.6节讲解增加并发控制后的globalmem的设备驱动。-Author: HuaQing vision embedded institute. The Linux device driver development "(08 and 09 sep TOP50) annual list of best-selling chapter 7, Linux device driver of the concurrent control. Linux device driver must be solved in question is DuoGe process on the concurrent access to Shared resources, concurrent access will lead to a race condition. Linux provides DuoZhong solve a race condition the question way, the way of the scene suitable for different applications. Section 7.1 describes the concurrent and the concept of a race condition happened and occasion. 7.2 ~ 7.5 respectively explained interrupt shielding, atomic operation, spin lock and the signal of the concurrent control mechanism. Section 7.6 explain the concurrent control of globalmem increase after the device driver. Platform: |
Size: 521216 |
Author:华清远见 |
Hits:
Description: 本书详尽的介绍了在linux环境在的QT使用,介绍了软件的安装规范,不同版本的比较,介绍了QT的基本编程:信号和槽机制,QT的多线程,Qt网络编程,以及QT常用工具:Qt设计器,Tmake,Qvfb等得详细介绍。-This book describes in detail the QT in linux environment The use, the software installation specifications, comparison of different versions, describes the basic programming QT: signal and slot mechanism, QT multithreading, Qt network programming, as well as commonly used QT Tools: Qt Designer, Tmake, Qvfb other was described in detail. Platform: |
Size: 583680 |
Author:chenshushu |
Hits:
Description: 通过研究linux线程机制,利用多线程解决生产者与消费者的信号并发控制-Through the research Linux thread mechanism of multithread, producers and consumers solve the concurrent control signal
Platform: |
Size: 8192 |
Author:5566141 |
Hits:
Description: linux下信号量编程,属于进程间通信的一种机制, 可作为参考-programming under linux semaphore, a part of inter-process communication mechanism can be used as a reference Platform: |
Size: 2048 |
Author:deng |
Hits:
Description: 1:此示例只是用来显示视频流,并没有处理存储视频及回放视频功能.
2:在打开项目后务必将构建里面的影子构建(Shadow build)取消.
3:实时显示视频,视频响应速度比VLC,QTAV等播放器快很多倍.
4:精简代码,在windows下是可以完整编译通过并运行的.linux下要将对应ffmpeg库文件替换.
5:支持三通道同步显示一个视频流,可以单击截图按钮截图放在最后一个通道.
6: 支持单个通道双击最大化显示.
7:代码处理并不够完整,还有很多需要优化的地方.
8:代码注释不够详尽,但是简单易懂.
9:没有使用定时器,采用信号槽机制实现视频流播放.
10:处理全部放在QFFmpge类中,包括注释也才到100行代码左右.
11:使用示例简单方便.自带了一个珍藏多年的黑灰色主题样式表,锦上添花!-1: This example is only used to display the video stream, and does not handle video storage and playback video function 2: After opening the project sure to build inside the shadow of Construction (Shadow build) cancel 3: Real-time video display, video response speed ratio VLC, QTAV and other players is many times faster 4: streamline the code, in the windows can complete compile and run under .linux ffmpeg library to replace the corresponding 5: 3-channel synchronous display a video stream can be a single Screenshot Screenshot hit the button on the last channel 6: supports a single channel double-click the Zoom 7: Code processing and incomplete, there are many places need to optimize 8: code comments is not exhaustive, but easy to understand 9: do not use a timer, using signal slots mechanism for video streaming 10: processing all on QFFmpge class, including comments also only about 11 to 100 lines of code: using the example of a simple and convenient comes with a collection of black Platform: |
Size: 15262720 |
Author:chamsdoncon |
Hits: