搜索资源列表
PRO_TIMER_queue
- 1 信号量同步 2 阻塞式读写 3 定时器 4 内存映射 5 /proc访问 6 工作队列 -1 2 blocking synchronization semaphore to read and write memory-mapped 3 Timer 4 5/proc access to the work queue 6
Producer-Consumer-Model
- 生产者消费者模型,多线程程序,主要涉及互斥、信号量等操作系统知识-Producer consumer model, multi-threaded programs, mainly related to mutual exclusion, semaphores and other operating system knowledge
ICA
- 基于高阶累积量的ICA独立分量分析,用于信号的分离-Cumulant-based ICA Independent Component Analysis for Signal Separation
virtual-memory-allocation--tracking
- 编写一个程序,包括两个线程,一个线程用于模拟内存分配活动,另一个用于跟踪第一个线程的内存行为,要求两个线程之间通过信号量实现同步,模拟内存活动的线程可以从一个文件中读出要进行的内存操作。将VirtualAlloc函数的参数flAllocationType分别设置为MEM_RESET,MEM_TOP_DOWN,将flProtect参数分别设置为PAGE_GUARD,PAGE_NOACCESS,PAGE_NOCACHE,执行并查看内存分配的结果。-Write a program that consi
The-problem-of-product-and-consume
- 生产者-消费者问题是一个经典的进程同步问题,该问题最早由Dijkstra提出,用以演示他提出的信号量机制。在同一个进程地址空间内执行的两个线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。当生产者线程生产物品时,如果没有空缓冲区可用,那么生产者线程必须等待消费者线程释放出一个空缓冲区。当消费者线程消费物品时,如果没有满的缓冲区,那么消费者线程将被阻塞,直到新的物品被生产出来。-The producer- consumer qu
nachossemaphore
- nachos系统中实现信号量以及对原有sleep程序的改写-nachos system for signal and the amount of rewriting of the original sleep program
signal_mutex
- 演示了linux中用信号量实现互斥锁的机制,用gcc编译后运行-Demonstrated using linux semaphore mutex lock mechanism, with the gcc compiled and run
signal_synchronous
- 演示了linux中信号量的同步机制,用gcc编译后运行-Shows the amount of linux synchronization signal, compiled and run using gcc
p-and-c
- 在Windows和Linux操作系统上,利用各自操作系统提供的Mutex和信号量机制(Win32 API或Pthreads),实现生产者/消费者问题-In the Windows and Linux operating systems, the use of their operating system provided Mutex and semaphore mechanism (Win32 API or Pthreads), to achieve the producer/consumer
OFDM_DETECTION
- OFDM检测的仿真,通过计算OFDM的归一化4阶累积量,实现OFDM信号的判决,内含升余弦滚降滤波或内插滤波的频谱图-OFDM simulation test, by calculating the normalized OFDM 4th order cumulant, to achieve decision OFDM signal, containing Raised Cosine filter or interpolation filter of the spectrum
pthread_sync_and_mutual
- linux多线程极大方便了程序编写,但同时必须考虑线程同步、互斥问题。 示例代码给出了利用信号量实现P、V操作,从而保证多线程同步、互斥。-linux multithread programming is very convenient, but we must pay attention to synchronization and mutual exclusion. The sample code shows us how to ensure multi-thread synch
get_semaphore
- 如何使用信号量,对线程感兴趣的可以参考下。 很不错的demo-How to use the semaphore, the thread of interest can refer to. Very nice demo
multithreadSyn
- 多线程同步,解决生产者消费者问题,应用临界区、互斥量、信号量等多种方式-Multi-thread synchronization to solve the producer consumer problem, apply the critical region, mutexes, semaphores and other methods
Produce_Consume_Pthread
- 利用各自操作系统提供的Mutex和信号量机制(Win32 API或Pthreads),实现生产者/消费者问题-Provided by each operating system Mutex and semaphore mechanism (Win32 API or Pthreads), to achieve the producer/consumer problem
how--to-use-signal
- vc下如何使用信号量,操作系统里经常用到的-how to use signal
semaphore
- 信号量(Semaphore)也被称为信号灯,常常作为在多线程环境下的同步与互斥机制。它负责协调各个线程,以保证它们能够正确、合理的使用公共资源。信号量分为单值和多值两种。单值信号量只能被一个线程获得,而多值信号量可以被若干个线程获得。 本实验是一个信号量实验,父进程作为生产者释放信号量,子进程作为消费者申请信号量。 实验环境 Redhat9.0-Semaphore (Semaphore), also known as signal lights, often in multi-th
10
- 里面接受了,基于linux的管道,信号量等事例,是买光盘自带的,希望对大家有帮助-Which accepted, linux-based pipeline, semaphores and other examples, is to buy the disc comes, we want to help
char-driver-by-sem
- 一个字符驱动源码,基于信号量同步。亲自试验,可以运行。-A character-driven source code, semaphore-based synchronization. Test yourself, you can run.
Sem
- 用Win32中的信号量实现生产者-消费者问题-Use Win32 semaphore in the producer- consumer issues
vxworks-expriment-source-
- 嵌入式实时操作系统VxWorks实验教程(重庆大学通信工程学院),包含:多任务程序的创建和启动,时间片轮转调度,基于优先级抢占式调度,消息队列实现任务间的通信,使用二进制信号量来实现任务间的同步 ,使用互斥信号量来实现任务对共享资源的互斥访问,vxworks下任务间通信例程 等等。-Embedded real-time operating system VxWorks Experimental Course (Institute of Communication Engineering, Cho