semaphores
美 [ˈseməˌfɔr]英 [ˈseməˌfɔː(r)]
- n.(铁路的)臂板信号(机);信号装置;(军队的)旗语通信(法)
- v.打信号(机)通知;打旗语
- 网络信号量;信号灯;号志
过去分词:semaphored 现在分词:semaphoring 第三人称单数:semaphores
semaphores
semaphores
信号量
比起信号量(semaphores)或者自旋锁(spinlocks)这是更为简单有效的技术。但是,禁止中断是系统能力与系统对外部事件的快速 …
信号灯
信号灯(Semaphores) 一般意义下,信号灯是一个具有整数值的对象,它支持两种操作P()和V()。P()操作减少信号灯的值, …
号志
三. 何谓号志(semaphores)?其优点为何?
旗语
系统也可利用旗语(Semaphores)或任务之间的消息传递来告知某外设接入。当系统调用后台任务时,会先核查是否已收到信号。
信号机
另一类的通讯方法是使用烽烟或摆臂式信号机(Semaphores)、灯号等肉眼可见的讯号,以接力方法来传讯。这种方法同样是 …
无法创建另一个系统信号灯
Delphi | Hello! MY LOVE! ... ERROR_TOO_MANY_SEMAPHORES 无法创建另一个系统信号灯。 ERROR_SEM_IS_SET 已 …
使用信号量
使用信号量(Semaphores)信号量是非负整型计数,用于协调对多个资源的访问。
1
Because named semaphores are system wide, it is possible to have multiple Semaphore objects that represent the same named semaphore.
因为命名信号量是针对整个系统范围的,所以可以具有多个表示同一命名信号量的。
2
Wordlessly, relying on the heart's semaphores, the mother says all an infant needs to hear, communicating through eyes, face and voice.
不必言说,仅靠着心灵的密语,母亲就能说出婴儿需要听到的一切,就能通过眼神、表情和声音进行交流。
3
In multiprocessor systems, semaphores are not always the best solution to the synchronization problems.
在多处理器系统中,信号量并不是同步问题的最佳解决方案。
4
used for inter task synchronization. Semaphores are usually provided by the operating system.
用于进程间同步的数据结构。信号灯常常由操作系统提供。
5
A real application would use semaphores or other techniques to control reading and writing to the shared segment.
真实的应用程序会使用信号量或其他技术控制对共享内存段的读写。
6
Refer to the section on semaphores in this article for the prototype for each of these System V semaphores.
关于每个SystemV信号量的原型,请参阅本文中有关信号量一节的内容。
7
This second part of the series has introduced synchronization objects and primitives, starting with semaphores and events.
本文是这一系列的第2部分,这篇文章从信号量和事件入手,介绍了有关同步对象和原语的内容。
8
Semaphores are another type of synchronization primitive that come in two flavors: binary and counting.
信号量是又一种以两种风格出现的基本方法:二进制和计数模式。
9
Message queues are a really simple concept that derives from the power of queueing semaphores .
消息队列是个从信号量队列引申出的简单的概念。
10
To prevent undetectable over rflow conditions, the kernel imposes a maximum value limit beyond which semaphores cannot be incremented.
为了防止无法检测的溢出情况,系统内核规定了一个最大值的极限,超过了这个值信号量就不能被增加了。
11
Semaphores allow synchronization of processes by testing and setting the integer value in a single atomic operation.
信号允许进程通过一个单一的原子操作来测试和设置那个整数的值,以此实现同步。
12
In Linux, POSIX semaphores and System V semaphores are asynchronous but pthreads conditional variables are not asynchronous.
在Linux中,POSIX信号量和SystemV信号量也都是异步的,不过pthreads条件变量不是异步的。
13
this includes memory, open files, and any other odds and ends that we will encounter in this book, such as semaphores.
包括内存,打开的文件和其他杂七杂八的东西,比如信号量。
14
Notice that in System V semaphores, key is used to uniquely identify the semaphore; in Windows, the semaphore is identified by a name.
注意,在SystemV信号量中,key被用来惟一标识信号量;在Windows中,信号量是使用一个名称来标识的。
15
In Linux, pthreads does not provide an initial state, but POSIX semaphores provide an initial state.
在Linux中,pthreads并没有提供初始状态,而POSIX信号量则提供了一个初始状态。
16
With mutually exclusive production volume of consumer questions use semaphores to solve the production of consumer issues.
用互斥量解决生产消费者问题;用信号量解决生产消费者问题。
17
The threading module does provide many synchronization primatives, including semaphores, condition variables, events, and locks.
线程模块提供了许多同步原语,包括信号量、条件变量、事件和锁。
18
Added sys. Dm_exec_query_memory_grants and sys. Dm_exec_query_resource_semaphores to the list of dynamic management objects.
在动态管理对象的列表中添加了sys.dm_exec_query_memory_grants和sys.dm_exec_query_resource_semaphores。
19
Named semaphores extend the synchronization between processes.
有名信号量可以在进程之间进行同步。
20
The next article in this series will cover semaphores.
本系列的下一篇文章将阐述信号量。
21
This can also increase the semaphores available and enables the server to be more efficient when dealing with large bursts of activity.
这还可以增加可用的信号量,让服务器能够更高效地处理活动高峰。
22
In Linux, conditional variable and POSIX semaphores are of the auto-reset type.
在Linux中,条件变量和POSIX信号量都是自动重置类型的。
23
Everything soft and enchanting as we walk over the bridge. Smoke coming up between our legs, the tracks creaking, semaphores in our blood.
过桥时一切都是软绵绵的、迷人的,烟雾从我们两腿间袅袅上升。
24
Windows access control security is meaningful only for named system semaphores.
Windows访问控制安全性仅对命名的系统信号量有意义。
25
A widely used mechanism, effective in both uniprocessor and multiprocessor systems, relies on the use of semaphores .
信号量作为一种同步机制,在单处理器和多处理器系统里都是有效的,因而得到广泛使用。
26
Though semaphores are not directly supported in the Java language, they are easily implemented on top of object locks.
尽管信号量并未直接被Java语言所支持,却很容易在给对象上锁的基础上实现。
27
With every tick, the process will run, do work and, optionally, set other semaphores to signal other processes that it is time to do work.
在每一个时间片到来时,该进程就运行,作业并有必要时置位其他的信号量来通知相应进程准备运行。
28
On Linux, POSIX semaphores are used only between the threads of same process.
在Linux上,在相同进程的不同线程之间,则只使用POSIX信号量。
29
The host can provide events, critical sections, and semaphores.
宿主可提供事件、临界区和信号量。
30
Part 2 in the series covers synchronization objects and primitives, starting with semaphores and events.
系列的第2部分介绍了同步对象和原语,首先是信号量和事件。