在一个信号计数器释放之前,其他7 个线程都处于空闲状态。
The other seven are held at bay until one of the semaphore counts is released.
在信号计数器信号量的方法和整数参数之间的理解差异?
Difference in understanding between semaphore counter and semaphore methods integer parameter?
lpPreviousCount是指向上一个信号量计数器返回时的变量的指针。
LpPreviousCount is the pointer to the variable where the previous semaphore count is returned.
它还会对信号量计数器进行初始化:intsem_init(sem_t *sem, intpshared,unsigned intvalue)。
This call also initializes the semaphore count: int sem_init(sem_t *sem, int pshared, unsigned int value). In this code
可以通过使用semctl将信号量计数器的初始值设置为0来获得信号量。
A semaphore can be owned by setting the initial count of the semaphore to 0 using semctl .
LinuxPOSIX信号量也是一些计数器变量,可以用来在Linux上实现Windows上的信号量功能。
Linux POSIX semaphores are count variables and can be used to achieve the Windows functionality of semaphores on Linux.
value(信号量计数器)是这个信号量的初始值。
Value (semaphore count) is the initial value of the semaphore.
由单片计算机控制的计数器自动产生通1秒停4秒的信号,使5路继电器输出带动电喇叭轮流通电。
By single chip computer control of counter automatically generate tong 1 second stop 4 seconds of signal, make no. 5 relay output drive electric horn turns electrify.
尽管POSIX信号量是计数器信号量,但是当这个计数器被设置为1时,它们可以提供与Windows事件对象相似的功能。
POSIX semaphores are count semaphores, but when the count is set to 1 they provide similar functionality to the Windows event object.
有手动复位和电气输出信号的脉冲计数器。
经比例放大器放大后的脉冲信号经窗口电压比较放大器消除干扰给计数器。
Pulse signal of proportional amplifier is sent to counter after reduced noise by window voltage comparer.
在测试测量设备中也有它们的身影,例如计数器、信号发生器及示波器。
Quartz crystals are also found inside test and measurement equipment, such as counters, signal generators, and oscilloscopes.
该文从消除时钟信号冗余跳变而致的无效功耗的要求出发,提出了应用并行技术和流水线技术,实现基于RTL级的双边沿触发计数器的设计。
To erase the bootless power dissipation of the redundant leap of the clock, this paper proposes the RTL design of double edge triggered counter using parallelism and pipeline technique.
在以CPU3为核心的数据采集模块系统中,设计了传感器信号发生、调理电路及由计数器组成的数据采集电路。
In the module system of data gathering taking CPU3 as the core, the article describes the circuit of signal-arising of sensors, signal-converting of sensors, and data gathering using counters.
此脉冲信号还是行计数器的触发信号,间接地控制振镜场扫的正程和逆程。
The horizontal line's counter is also activated by this signal to control galvanometer up and down.
通过移相电路获得相差90度的另一路信号,然后用可逆计数器实现稳定准确的周期计数。
Anoiher signal with 90 degree delay is obtained by phase shift circuit. The accurate and stable circle counting is done by a reversible counter.
旋转编码器转换成机械和工业PC输入成电子信号,控制器可处理的计数器,转速表,可编程逻辑。
Rotary encoders convert a mechanical input into electrical signals, which can be processed by counters, tachometers, programmable logic controllers and industrial PCs.
文中重点分析了采用计数器信号量解决多进程同步通信,即生产者—消费者问题。
But the focus in this paper is the application of counting semaphore in VxWorks, which can be used in the Producer_Consumer problem to solve the data synchronism in multi process communication.
时钟或者选通信号用于比较器、递增-递减计数器102和数模转换器100的同步操作,以便避免这些部件竞争。
A clock or a strobe signal is used to synchronise operation of the comparator, the up-down counter 102 and the digital to analog converter 100 so as to avoid these components racing.
在无线电定位接收机信号处理中,为了准确的测量toa,对计数器的计数精度有极高的要求。
In the process of radio positioning receiver in order to survey TOA accurately, there is high requirement for the accuracy of counter.
假设高信号使能,计数器每个时钟周期进行计数,PWM输出的频率为时钟频率的2次幂分频。
Suppose that Enable is high, the counter counts up every clock cycle, and the frequency of the PWM output is the clock frequency divided by 2 count bits.
数控分频器设计:对于一个加法计数器,装载不同的计数初始值时,会有不同频率的溢出输出信号。
Nc divider design: an adder counter, loading the initial count value, have different frequency output signal of the overflow.
在坐标信号的提取与读出过程中,用计算法和CRT显示代替了传统的电子细分和可逆计数器;
Conventional electronic finely-divided and reversible counter have been replaced by computerizing and CRT display in the process of collecting and read-out the coordinate signal.
该控制系统包括第一计数器,依据一提供的频道位时钟脉冲信号执行位计数;
The control system includes a first counter which performs a bit count according to provided channel bit clock signals;
采用PLC的高速计数器进行测量轮正转和反转时的脉冲信号的采集,通过进一步程序运算得到绝对位移量。
The pluses comes from coder to send to the high speed counter, and the number of the high speed counter is operated in the program of PLC to get the absolute displacement anticipated.
计数器是最常用的时序电路之一,他们不只可以用来指望脉冲,还可以分频,定时,发生跳动的脉搏和其他的时钟信号等。
The counter is the most commonly used one of the sequential circuits, they not only can be used to count on pulse, still can separate frequency, timing, produce beats pulse and other clock signal etc.
一比较器,接收上述第一计数器及上述第二计数器的计数值,以产生一致能信号输出;
The third counter starts counting in the first clock frequency when receiving the enabling signal, and stops counting when the enabling signal stops.
一比较器,接收上述第一计数器及上述第二计数器的计数值,以产生一致能信号输出;
The third counter starts counting in the first clock frequency when receiving the enabling signal, and stops counting when the enabling signal stops.
应用推荐