semaphore
US /ˈsem.ə.fɔːr/
UK /ˈsem.ə.fɔːr/
名詞
1.
手旗信号, 腕木通信
a system of sending messages by holding two flags in certain positions according to a code
例:
•
Sailors used semaphore to communicate between ships.
船員は船間で通信するために手旗信号を使用した。
•
The old lighthouse used a form of semaphore to warn ships of danger.
古い灯台は危険を船に警告するために手旗信号の一種を使用した。
2.
セマフォ (コンピュータ), 同期機構
(in computing) a variable or abstract data type used to control access to a common resource by multiple processes and avoid critical section problems in a concurrent system such as a multitasking operating system
例:
•
The operating system uses a semaphore to manage access to shared memory.
オペレーティングシステムは共有メモリへのアクセスを管理するためにセマフォを使用する。
•
Understanding semaphores is crucial for concurrent programming.
セマフォを理解することは並行プログラミングにとって非常に重要である。
動詞
手旗信号で送る, 腕木通信で送る
send (a message) by semaphore
例:
•
They tried to semaphore a warning to the distant ship.
彼らは遠くの船に警告を手旗信号で送ろうとした。
•
Can you semaphore the message to the other side of the field?
フィールドの反対側にメッセージを手旗信号で送ってもらえますか?