英文字典中文字典Word104.com



中文字典辭典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z   







請輸入英文單字,中文詞皆可:

semaphore    
n. 臂式號志,信號,手旗信號
vt. 以信號機聯絡
vi. 打信號

臂式號志,信號,手旗信號以信號機聯絡打信號

semaphore
信號; 信號標誌; 信號燈

semaphore
旗號

semaphore
n 1: an apparatus for visual signaling with lights or
mechanically moving arms
v 1: send signals by or as if by semaphore
2: convey by semaphore, of information

Semaphore \Sem"a*phore\, n. [Gr. sh^ma a sign fe`rein to bear:
cf. F. s['e]maphore.]
A signal telegraph; an apparatus for giving signals by the
disposition of lanterns, flags, oscillating arms, etc.
[1913 Webster] Semaphoric

72 Moby Thesaurus words for "semaphore":
Roman candle, aid to navigation, alarm, amber light, balefire,
beacon, beacon fire, bell, bell buoy, blinker, blue peter, buoy,
caution light, flare, fog bell, fog signal, fog whistle, foghorn,
glance, go light, gong buoy, green light, heliograph, high sign,
international alphabet flag, international numeral pennant, kick,
leer, marker beacon, nod, nudge, parachute flare, pilot flag, poke,
police whistle, quarantine flag, radio beacon, red flag, red light,
rocket, sailing aid, semaphore flag, semaphore telegraph, sign,
signal, signal beacon, signal bell, signal fire, signal flag,
signal gong, signal gun, signal lamp, signal light, signal mast,
signal post, signal rocket, signal shot, signal siren,
signal tower, spar buoy, stop light, the nod, the wink, touch,
traffic light, traffic signal, watch fire, white flag, wigwag,
wigwag flag, wink, yellow flag

The classic method for
restricting access to shared resources (e.g. storage) in a
{multi-processing} environment. They were invented by
{Dijkstra} and first used in {T.H.E} {operating system}.

A semaphore is a {protected variable} (or {abstract data
type}) which can only be accessed using the following
operations:

P(s)
Semaphore s;
{
while (s == 0) ; /* wait until s>0 */
s = s-1;
}

V(s)
Semaphore s;
{
s = s1;
}

Init(s, v)
Semaphore s;
Int v;
{
s = v;
}

P and V stand for Dutch "Proberen", to test, and "Verhogen",
to increment. The value of a semaphore is the number of units
of the resource which are free (if there is only one resource
a "binary semaphore" with values 0 or 1 is used). The P
operation {busy-waits} (or maybe {sleeps}) until a resource is
available whereupon it immediately claims one. V is the
inverse, it simply makes a resource available again after the
process has finished using it. Init is only used to
initialise the semaphore before any requests are made. The P
and V operations must be {indivisible}, i.e. no other process
can access the semaphore during the their execution.

To avoid {busy-wait}ing, a semaphore may have an associated
{queue} of processes (usually a {FIFO}). If a process does a
P on a semaphore which is zero the process is added to the
semaphore's queue. When another process increments the
semaphore by doing a V and there are tasks on the queue, one
is taken off and resumed.

(1995-02-01)

請選擇你想看的字典辭典:
單詞字典翻譯
semaphore查看 semaphore 在Google字典中的解釋Google英翻中〔查看〕
semaphore查看 semaphore 在Yahoo字典中的解釋Yahoo英翻中〔查看〕





安裝中文字典英文字典查詢工具!


中文字典英文字典工具:
選擇顏色:
輸入中英文單字

































































英文字典中文字典相關資料:
  • multithreading - What is a semaphore? - Stack Overflow
    A semaphore is a programming concept that is frequently used to solve multi-threading problems My question to the community: What is a semaphore and how do you use it?
  • single - University of Wisconsin–Madison
    A semaphore is an object with an integer value that we can manipu-late with two routines; in the POSIX standard, these routines are sem_-wait() and sem_post()1
  • java - How does semaphore work? - Stack Overflow
    The Java Semaphore class allows a reverse situation, where a semaphore can start off with a negative number of permits, and all acquire() calls will fail until there have been enough release() calls Once the number of permits has become non-negative, it will never become negative again
  • c - semaphore implementation - Stack Overflow
    the semaphore resources are pretty limited on every unixes you can check these with the 'ipcs' command there is an undo feature of the System V semaphores, so you can make sure that abnormal program termination doesn't leave your semaphores in an undesired state
  • Why use a mutex and not a semaphore? - Stack Overflow
    In general, mutex and semaphore target different use cases: A semaphore is for signalling, a mutex is for mutual exclusion Mutual exclusion means you want to make sure that multiple threads cannot execute certain critical sections of code at the same time std::mutex is the only synchronization facility in the standard library for this use case
  • What is mutex and semaphore in Java ? What is the main difference?
    It should also be pointed out that there are "binary" semaphores and "counting general" semaphores Java's semaphore is a counting semaphore and thus allows it to be initialized with a value greater than one (whereas, as pointed out, a mutex can only a conceptual count of one) The usefulness of this has been pointed out in other posts
  • CONCURRENCY: SEMAPHORES - University of Wisconsin–Madison
    AGENDA LEARNING OUTCOMES Concurrency abstractions How can semaphores help with producer-consumer? How to implement semaphores?
  • What is the difference between lock, mutex and semaphore?
    I've heard these words related to concurrent programming, but what's the difference between lock, mutex and semaphore?
  • Semaphore vs. Monitors - whats the difference?
    A semaphore is a signaling mechanism used to coordinate between threads Example: One thread is downloading files from the internet and another thread is analyzing the files This is a classic producer consumer scenario The producer calls signal() on the semaphore when a file is downloaded The consumer calls wait() on the same semaphore in order to be blocked until the signal indicates a





中文字典-英文字典  2005-2009

|中文姓名英譯,姓名翻譯 |简体中文英文字典