搜索资源列表
Linux-IPC.tar
- 资源中包含了Linux进程间通信的例子,同时有源文件和可执行文件。 源码主要包含了Linux下IPC机制的本地进程通信方式,包含了IPC共享内存,IPC信号量,IPC消息队列的实现,以及Linux下判断进程退出原因的示例程序。因为是做毕设学习时的练习程序,因此程序有详细的注释。(注意,每种通信方式需要在同时两个终端中查看验证,才可以看出效果,注意查看源码注释)-the source code included in the copressed package shows how IPC wo
Linux_Kernel
- Linux中各种内核态程序的编写,这是某个人的编程心得,里面有源代码,内容涉及互斥锁、信号量、多线程等,很不错的,值得参考!-Linux Kernel in a variety of procedures for the preparation of state, this is a personal experience of programming, which source code, which relates to mutual exclusion locks, semaphores,
UCOS-II-4-STM32wsxxin
- stm32 pwm 用于产生PWM波,一个任务发送一个信号量,一个任务接收这个信号量,每接收一个信号量,占空比就加-stm32 pwm
EX3
- 使用Win32同步对象(互斥对象,事件对象,信号量对象等)解决临界区问题-兄弟问题 -Use Win32 synchronization object (mutex objects, events, objects, semaphore objects, etc.) to solve critical problems- the problem brother
ucos-dining-philosopher
- ucos-dining-philosopher.rar ucos下的哲学家就餐问题(dining philosopher problems),采用信号量机制解决,有截图和感悟。dos界面文字演示(另有图形界面)。-ucos-dining-philosopher.rarucos under the dining philosophers problem (dining philosopher problems), using semaphore mechanism to resolve scr
readerwriter
- 简单的读者写者问题,用信号量来实现读者写者问题-Readers to write to readers to write the problem using semaphores
EX3_x86L
- 哲学家就餐问题的模拟(ucos实现) 问题描述: 5个哲学家围绕一张圆桌而坐,桌子上放着5支筷子,每两个哲学家之间放一支; 哲学家的动作包括思考和进餐; 进餐时需要同时拿起他左边和右边的两支筷子;思考时则同时将两支筷子放回原处。 程序解决了哲学家的就餐问题。 避免死锁(deadlock) 避免饥饿(starvation) 程序使用的使用消息邮箱模拟二值信号量-philosopher eating problem
demostration_of_os
- os重要算法演示: 页面置换算法――最佳置换算法 页面置换算法――最近最久未使用(LRU)算法 并发进程和具有挂起状态的进程状态图 进程调度算法及银行家算法示例 进程的同步与互斥--信号量-demostration of os
ucos_OS
- ucos操作系统学习资料,进程间通信的机制,信号量,队列,邮箱。-ucos operating system learning materials, inter-process communication mechanisms, semaphores, queues, mailboxes.
phy
- 多线程解决哲学家就餐问题,利用操作系统中互斥量和信号量-Multi-threading to solve the dining philosophers problem, using the operating system mutex and semaphore
bank
- 操作系统-模拟银行家算法,实现操作系统PV信号量操作-operating system- analog bankers algorithm
Thread2_23
- 一个线程程序,通过信号量来同步几个同时运行的线程.- A line regulation procedure, comes the line regulation the proceed signal quantity which synchronized several simultaneously moves
CUM4X
- 现代数字信号处理高阶统计量——四阶累积量程序-Modern digital signal processing higher-order statistics- fourth-order cumulant procedures
TC-ucos-philos-comment-in-detail
- TC-ucos-philos-详细注释.rar 用TC编译ucos并在图像化界面下演示哲学家就餐问题,采用信号量机制,程序有BUG,不能顺利运行,但是我写了很多注释,有兴趣的朋友可以继续做下去,我的邮箱xuxi009@163.com可与我联系。注意图形界面驱动的路径要和源文件中的相同否则无法显示图形界面,相信用过TC的图形界面的明白,呵呵。-TC-ucos-philos-detailed notes. Rar uCOS compiled by TC and the image of i
countingsync
- 如题,计数型信号量用于任务间同步,二进制信号量适用于任务间同步,但是如果事件发生过快,可能导致数据丢失。但是使用计数型信号量就可以就决这个问题-Such as title, Counting Semaphore for inter-task synchronization, a binary semaphore for inter-task synchronization, but if the incident took place too quickly, may lead to data
muxtesync1
- 程序首先创建生产者,然后创建消费者,他们从共享数据结构存取数据,使用互斥信号量,可以有效保护共享数据。-Process begins to create producers, consumers and then create them from the shared data structure to access data, the use of mutex semaphores, shared data can be effectively protected.
b-sync
- VxWorks中,二进制信号量用于任务间同步。-VxWorks, the binary semaphore for inter-task synchronization.
linuxdriver_code_tool
- 本书是一本介绍Linux设备驱动开发理论、框架与实例的书,本书以Linux 2.6版本内核为蓝本,详细介绍自旋锁、信号量、完成量、中断顶/底半部、定时器、内存和I/O映射以及异步通知、阻塞I/O、非阻塞I/O等Linux 设备驱动理论;字符设备、块设备、TTY设备、I2C设备、LCD设备、音频设备、USB设备、网络设备、PCI设备等Linux设备驱动的架构和框架中各个复杂数据架构和函数的关系,并讲解了大量Linux驱动开发的大量实例,使读者能够独立开发各类Linux设备驱动。-This book
R_WP1
- os的一次作业,生产者消费者问题,用信号量来实现的-os an operation, producers of consumer problems, and use semaphores to achieve the
done
- 本系统的同步机构采用信号量上的P、V操作的机制;控制机构包括: (1)阻塞和唤醒操作; (2)时间片中断处理程序模拟时间片中断; (3)进程调度程序负责为各进程分配处理机。 系统中涉及了3个并发进程。它们之间的关系是: (1) 3个进程需要互斥使用临界资源S2。 (2)进程1和进程2又需互斥使用临界资源S1. 本系统在运行过程中随机打印出各进程的状态变换过程,系统的调度过程及公共变量的变化情况。-Synchronization of the sy