semaphore
美 [ˈseməˌfɔr]英 [ˈseməˌfɔː(r)]
- n.信号标;旗语
- v.打旗语;(用其他类似的信号系统)发信号
- 网络信号量;信号灯;号志
过去分词:semaphored 现在分词:semaphoring 第三人称单数:semaphores
semaphore
semaphore
信号量
信号量(Semaphore):信号量是内核管理的Int32变量。当信号量为0时,线程被阻塞;>0时,线程不被阻塞。
信号灯
信号灯(semaphore)是一种用于提供不同进程间或一个给定进程的不同线程间同步手段的原语(引自Unix网络编程第2卷进程 …
号志
代表号志 (Semaphore),即是允许限定数量的执行绪在一或多个处理序中存取资源的同步物件。CMutex 代表 Mutex,即允许执 …
旗语
旗语(Semaphore)锁定非常类似于互斥锁定,其区别是,旗语锁定可以同时由多个线程使用。旗语锁定是一种计数的互斥锁定。
信号机
21.“信号机”(Semaphore)是一个变量,控制着对公共资源或临界区的访问。信号机维护着一个计数器,指定可同时使用资源或进 …
信号量对象
信号量对象(Semaphore)就是资源信号量,初始值的取值在0到指定最大值之间,用于限制并发访问的线程数。它的相关APl包 …
1
Because named semaphores are system wide, it is possible to have multiple Semaphore objects that represent the same named semaphore.
因为命名信号量是针对整个系统范围的,所以可以具有多个表示同一命名信号量的。
2
This method is called to wait for an event completion on the indicated semaphore, with a specified time.
调用这个方法来等待所需要信号上某个事件的完成,等待指定的一段时间。
3
The effective user ID of the calling process must be that of the super-user or match the creator or owner of the semaphore set.
调用进程的有效用户ID必须是超级用户,或者可以与该信号量集的创建者或所有者匹配的用户。
4
Timeout in wait functions: When used in one of the wait functions, timeout value can be specified for Windows semaphore objects.
等待函数中的超时:当在一个等待函数中使用时,可以为Windows信号量对象指定超时值。
5
Single-valued semaphore can only be one thread access, and multi-valued semaphore can be a number of threads available.
单值信号量只能被一个线程获得,而多值信号量可以被若干个线程获得。
6
The pshared argument indicates whether this semaphore is to be shared between the threads of a process, or between processes.
pshared参数标明信号量是否在进程的线程间或者是进程间被共享。
7
A programming error in another thread might have caused that thread to exit the semaphore more times than it entered.
另一个线程中的编程错误可能导致该线程退出信号量的次数超过它进入的次数。
8
If constant semaphore problems appear on the server console, check whether or not the tasks schedule is conflicting.
如果常量信号量问题出现在服务器控制台上,那么检查任务的安排是否冲突。
9
The writer process(es) lines up to access the data structure, and is held back until the semaphore is made available.
写进程排队等待访问这个数据结构,在这个信号量可用之前会一直阻塞。
10
Once more she is distracted, catching the eye of the waiter with a demure flutter of restaurant semaphore and asking for more water.
她又一次离开了谈话的主题,用端庄的挥手吸引来侍者的注意,又要了一些水。
11
You can clearly see that on February 26, there was a change in the semaphore usage, due to the first Domino 7 beta.
可以清楚地看到,在2月26日,信号量使用情况有一次变化,这是由于第一次发布Domino7beta。
12
An attempt to take a counting semaphore is blocked only if all of the available resources are in use.
仅仅在所有可用的资源都被用完了时才阻塞。
13
Class with the specified sections of the access control security rules from the system semaphore with the specified name .
使用来自具有指定名称的系统信号量的访问控制安全性规则的指定部分来初始化。
14
args are the values to be updated in the semaphore set data structure through this IPC_SET (explained in the sample).
args是这个信号量集数据结构中要通过IPC_SET来更新的值(在这个例子中会有解释)。
15
Thus, named semaphore can be used to synchronize the activities of processes as well as threads.
因此,命名信号量可用于同步进程的活动以及线程的活动。
16
Method is called on a semaphore whose count is already at the maximum.
对计数已达到最大值的信号量调用。
17
Monty Python came up with a semaphore version of Wuthering Heights, the novel that also gave Kate Bush her debut single.
巨蟒剧团(MontyPython)还制作了由演员用旗语交流的信号灯版《呼啸山庄》,凯特·布什在其中首次献唱。
18
You can create a Semaphore object that represents a named system semaphore by using one of the constructors that specifies a name.
您可以使用可用于指定名称的一个构造函数来创建表示命名系统信号量的。
19
"Etc. , that is numerous, etc. . . " Fan Hai Lei did to let the semaphore that I stop to talk.
“等等,那多,等等。”范海勒做了个让我暂停说话的手势。
20
When all threads have released the semaphore, the count is at the maximum value specified when the semaphore was created.
当所有的线程都已释放信号量时,计数达到创建信号量时所指定的最大值。
21
A data structure for mutual exclusion, also known as a binary semaphore.
表现互斥现象的数据结构,也被当作二元信号灯。
22
With a semaphore, we create a semaphore set consisting of a single member and initialize the semaphore's value to 1.
我们使用信号量时,创建只包含一个成员的信号量的同时,将信号量的值初始化为1。
23
The current semaphore represents a named system semaphore, but it was not opened with SemaphoreRights. : : . Modify rights.
当前信号量表示一个已命名的系统信号量,但它不是以SemaphoreRights.::.Modify权限打开的。
24
The solution, of course, is to use finally to release the semaphore permit; an easy enough -- but all-too-often-forgotten -- approach.
当然,解决方案是使用finally来释放信号量许可证,这是一个很简单却容易被遗忘的方法。
25
If a thread has entered the semaphore multiple times, this method overload allows the entire semaphore count to be restored with one call.
如果线程多次进入信号量,此方法重载允许通过一个调用还原整个信号量计数。
26
The definition of a shared memory and process shared data structure and built-in semaphore support.
有一个共享的内存定义和进程共享数据结构和内置的信号量的支持。
27
A SemaphoreSecurity object specifies access rights for a named system semaphore, and also specifies how access attempts are audited.
SemaphoreSecurity对象指定了命名的系统信号量的访问权限,以及如何审核访问尝试。
28
These limitations also lessened the effectiveness of the semaphore, a modern precursor to the electric telegraph.
这些限制也削弱了旗语(电报的先驱)的作用。
29
The following code example creates a semaphore with a maximum count of three and an initial count of zero.
下面的代码示例创建一个最大计数为3、初始计数为0的信号量。
30
In the infinite loop case above, all threads except main are in a waiting state (on a semaphore, or waiting for some event).
在上述死循环的情况下,所有除主线程之外的线程都处于某种等待状态(等待一个信号量,或等待某个事件)。