
semaphore
词源
源自法语 'sémaphore',由希腊语 'sēma'(符号)和 'phoros'(携带者)组成,字面意思为'符号携带者'。
noun
❶ 一种视觉信号系统,通常使用旗帜、灯光或机械臂来传递信息,常见于铁路或航海领域。
“The train stopped when the semaphore turned red.”
(当信号灯变红时,火车停了下来。)
“Sailors used semaphore flags to communicate between ships.”
(水手们使用信号旗在船只之间进行通信。)
❶ 在计算机科学中,指一种用于控制多线程或进程间同步的机制。
“The programmer used a semaphore to manage access to the shared resource.”
(程序员使用信号量来管理对共享资源的访问。)
“A binary semaphore can have only two values: 0 and 1.”
(二进制信号量只能有两个值:0和1。)
verb
❶ 使用信号系统(如旗语或灯光)发送信息。
“The sailors semaphored their position to the rescue team.”
(水手们用旗语向救援队发送了他们的位置。)
“They semaphored a warning about the approaching storm.”
(他们用信号发出了关于即将到来的风暴的警告。)
常见短语
semaphore system — 指任何使用视觉信号进行通信的系统,如铁路信号或航海旗语。
“The old semaphore system was replaced by electronic signals.”
(旧的信号系统被电子信号取代。)
semaphore tower — 历史上用于远距离传递信号的高塔,常见于19世纪的通信网络。
“The semaphore tower on the hill was part of the national communication network.”
(山上的信号塔是国家通信网络的一部分。)