semaphores信息详情

semaphores发音

意思翻译

n.信号;[计]信号量;旗语;信号灯(semaphore的复数)

v.用信号向……发出;打旗语(semaphore的三单形式)

相似词语短语

folium basemap───叶基图

deconcentration bonus semap───分散奖金

双语使用场景

Part 2 handles semaphores and events.───第2部分处理的是信号量与事件。

next article in this series will cover semaphores.───系列的下一篇文章将阐述信号量。

Timeout: Win32 event semaphores support timed wait.───超时:Win32事件信号支持定时等待。

Because named semaphores are system wide, it is possible to have multiple Semaphore objects that represent the same named semaphore.───因为命名信号量是针对整个系统范围的,所以可以具有多个表示同一命名信号量的。

Wordlessly, relying on the heart's semaphores, the mother says all an infant needs to hear, communicating through eyes, face and voice.───不必言说,仅靠着心灵的密语,母亲就能说出婴儿需要听到的一切,就能通过眼神、表情和声音进行交流。

In multiprocessor systems, semaphores are not always the best solution to the synchronization problems.───在多处理器系统中,信号量并不是同步问题的最佳解决方案。

used for inter task synchronization. Semaphores are usually provided by the operating system.───用于进程间同步的数据结构。信号灯常常由操作系统提供。

A real application would use semaphores or other techniques to control reading and writing to the shared segment.───真实的应用程序会使用信号量或其他技术控制对共享内存段的读写。

Refer to the section on semaphores in this article for the prototype for each of these System V semaphores.───关于每个SystemV信号量的原型,请参阅本文中有关信号量一节的内容。

英语使用场景

Semaphores are another type of synchronization primitive that come in two flavors: binary and counting.

Linux POSIX semaphores use sem_wait() to suspend the calling thread until the semaphore has a non-zero count.

The most common building blocks of intertask communication are semaphores and mutexes.

Counting semaphores can be initialized to any arbitrary value which should depend on how many resources you have available for that particular shared data.

This includes pipes, semaphores, and shared memory.

Interprocess communication is not allowed. This includes pipes, semaphores, and shared memory.

In Linux, conditional variable and POSIX semaphores are of the auto-reset type.

Some semaphores still survive - at Caersws and the Llanidloes Road level crossing.

A real application would use semaphores or other techniques to control reading and writing to the shared segment.