semaphore
美 [?sem??f?r]
英 [?sem??f??(r)] 
- n.信號標(biāo);旗語
- v.打旗語;(用其他類似的信號系統(tǒng))發(fā)信號
- 網(wǎng)絡(luò)信號量;信號燈;號志
詞形變化
過去分詞:semaphored 現(xiàn)在分詞:semaphoring 第三人稱單數(shù):semaphores
英漢雙解
1. | [u] 信號標(biāo);旗語a system for sending signals in which you hold your arms or two flags in particular positions to represent different letters of the alphabet |
1. | [i][t] ~ (sth).~ that… 打旗語;(用其他類似的信號系統(tǒng))發(fā)信號to send a message to sb by semaphore or a similar system of signals |
英漢解釋
n. | 1. (鐵路的)臂板信號(機(jī)),信號(燈);信號裝置 3. 【旅】塞瑪弗,南澳大利亞阿德萊德的一個濱海區(qū) |
v. | |
英英解釋
例句
Because named semaphores are system wide, it is possible to have multiple Semaphore objects that represent the same named semaphore.
因為命名信號量是針對整個系統(tǒng)范圍的,所以可以具有多個表示同一命名信號量的。
This method is called to wait for an event completion on the indicated semaphore, with a specified time.
調(diào)用這個方法來等待所需要信號上某個事件的完成,等待指定的一段時間。
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.
調(diào)用進(jìn)程的有效用戶ID必須是超級用戶,或者可以與該信號量集的創(chuàng)建者或所有者匹配的用戶。
Timeout in wait functions: When used in one of the wait functions, timeout value can be specified for Windows semaphore objects.
等待函數(shù)中的超時:當(dāng)在一個等待函數(shù)中使用時,可以為Windows信號量對象指定超時值。
Single-valued semaphore can only be one thread access, and multi-valued semaphore can be a number of threads available.
單值信號量只能被一個線程獲得,而多值信號量可以被若干個線程獲得。
The pshared argument indicates whether this semaphore is to be shared between the threads of a process, or between processes.
pshared參數(shù)標(biāo)明信號量是否在進(jìn)程的線程間或者是進(jìn)程間被共享。
A programming error in another thread might have caused that thread to exit the semaphore more times than it entered.
另一個線程中的編程錯誤可能導(dǎo)致該線程退出信號量的次數(shù)超過它進(jìn)入的次數(shù)。
If constant semaphore problems appear on the server console, check whether or not the tasks schedule is conflicting.
如果常量信號量問題出現(xiàn)在服務(wù)器控制臺上,那么檢查任務(wù)的安排是否沖突。
The writer process(es) lines up to access the data structure, and is held back until the semaphore is made available.
寫進(jìn)程排隊等待訪問這個數(shù)據(jù)結(jié)構(gòu),在這個信號量可用之前會一直阻塞。
Once more she is distracted, catching the eye of the waiter with a demure flutter of restaurant semaphore and asking for more water.
她又一次離開了談話的主題,用端莊的揮手吸引來侍者的注意,又要了一些水。
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日,信號量使用情況有一次變化,這是由于第一次發(fā)布Domino7beta。
An attempt to take a counting semaphore is blocked only if all of the available resources are in use.
僅僅在所有可用的資源都被用完了時才阻塞。
Class with the specified sections of the access control security rules from the system semaphore with the specified name .
使用來自具有指定名稱的系統(tǒng)信號量的訪問控制安全性規(guī)則的指定部分來初始化。
args are the values to be updated in the semaphore set data structure through this IPC_SET (explained in the sample).
args是這個信號量集數(shù)據(jù)結(jié)構(gòu)中要通過IPC_SET來更新的值(在這個例子中會有解釋)。
Thus, named semaphore can be used to synchronize the activities of processes as well as threads.
因此,命名信號量可用于同步進(jìn)程的活動以及線程的活動。
Method is called on a semaphore whose count is already at the maximum.
對計數(shù)已達(dá)到最大值的信號量調(diào)用。
Monty Python came up with a semaphore version of Wuthering Heights, the novel that also gave Kate Bush her debut single.
巨蟒劇團(tuán)(MontyPython)還制作了由演員用旗語交流的信號燈版《呼嘯山莊》,凱特·布什在其中首次獻(xiàn)唱。
You can create a Semaphore object that represents a named system semaphore by using one of the constructors that specifies a name.
您可以使用可用于指定名稱的一個構(gòu)造函數(shù)來創(chuàng)建表示命名系統(tǒng)信號量的。
"Etc. , that is numerous, etc. . . " Fan Hai Lei did to let the semaphore that I stop to talk.
“等等,那多,等等?!?c>范海勒做了個讓我暫停說話的手勢。
When all threads have released the semaphore, the count is at the maximum value specified when the semaphore was created.
當(dāng)所有的線程都已釋放信號量時,計數(shù)達(dá)到創(chuàng)建信號量時所指定的最大值。
A data structure for mutual exclusion, also known as a binary semaphore.
表現(xiàn)互斥現(xiàn)象的數(shù)據(jù)結(jié)構(gòu),也被當(dāng)作二元信號燈。
With a semaphore, we create a semaphore set consisting of a single member and initialize the semaphore's value to 1.
我們使用信號量時,創(chuàng)建只包含一個成員的信號量的同時,將信號量的值初始化為1。
The current semaphore represents a named system semaphore, but it was not opened with SemaphoreRights. : : . Modify rights.
當(dāng)前信號量表示一個已命名的系統(tǒng)信號量,但它不是以SemaphoreRights.::.Modify權(quán)限打開的。
The solution, of course, is to use finally to release the semaphore permit; an easy enough -- but all-too-often-forgotten -- approach.
當(dāng)然,解決方案是使用finally來釋放信號量許可證,這是一個很簡單卻容易被遺忘的方法。
If a thread has entered the semaphore multiple times, this method overload allows the entire semaphore count to be restored with one call.
如果線程多次進(jìn)入信號量,此方法重載允許通過一個調(diào)用還原整個信號量計數(shù)。
The definition of a shared memory and process shared data structure and built-in semaphore support.
有一個共享的內(nèi)存定義和進(jìn)程共享數(shù)據(jù)結(jié)構(gòu)和內(nèi)置的信號量的支持。
A SemaphoreSecurity object specifies access rights for a named system semaphore, and also specifies how access attempts are audited.
SemaphoreSecurity對象指定了命名的系統(tǒng)信號量的訪問權(quán)限,以及如何審核訪問嘗試。
These limitations also lessened the effectiveness of the semaphore, a modern precursor to the electric telegraph.
這些限制也削弱了旗語(電報的先驅(qū))的作用。
The following code example creates a semaphore with a maximum count of three and an initial count of zero.
下面的代碼示例創(chuàng)建一個最大計數(shù)為3、初始計數(shù)為0的信號量。
In the infinite loop case above, all threads except main are in a waiting state (on a semaphore, or waiting for some event).
在上述死循環(huán)的情況下,所有除主線程之外的線程都處于某種等待狀態(tài)(等待一個信號量,或等待某個事件)。
The exception that is thrown when the Semaphore. : : . Release method is called on a semaphore whose count is already at the maximum.
對計數(shù)已達(dá)到最大值的信號量調(diào)用Semaphore.::.Release方法時引發(fā)的異常。
Based on that information, you can try some of the following techniques to continue narrowing the focus area around the semaphore timeout.
根據(jù)這一信息,可以嘗試使用以下技術(shù)繼續(xù)收窄與信號量超時相關(guān)的領(lǐng)域范圍。
of simple locks , a semaphore is a thread- safe counter initialized to the number of resources available for use .
信號量是在簡單上鎖的基礎(chǔ)上實現(xiàn)的,相當(dāng)于能令線程安全執(zhí)行,并初始化為可用資源個數(shù)的計數(shù)器。
Provides a representation of a semaphore implemented by the host.
提供由宿主創(chuàng)建的信號量的表示形式。
A semaphore is to your system what a traffic signal is to an intersection: a mechanism that keeps things running smoothly.
信號量對于系統(tǒng)的作用就像是十字路口的信號燈:一種保持系統(tǒng)運行順暢的機(jī)制。
Tagged semaphore's design, definition and application in realizing process's synchronization and mutual exclusion are discussed in detail.
論述了標(biāo)簽信號量的設(shè)計、定義及其在實現(xiàn)進(jìn)程同步與互斥中的應(yīng)用。
Part one of this series discusses why semaphore timeouts occur and how to troubleshoot the reasons behind them.
本系列的第1部分討論了為什么會出現(xiàn)信號量超時以及如何判斷信號量超時的原因。
This example does not attach the security object to a Semaphore object.
此示例未將安全對象附加到Semaphore對象。
This article is part two in a two-part series on recognizing, troubleshooting, and preventing semaphore issues.
本文是兩篇系列文章的第2部分,討論如何識別、解決和防止信號量問題。
An error occurred attempting to ensure exclusive cluster configuration access. The required semaphore could not be created.
在保證獨占群集配置訪問時出錯。