Semaphores

/ˈsɛm.ə.fɔːrz/

সেমাফোরসমূহ; (সংকেতব্যবস্থা/যন্ত্র) সেমাফোর; (কম্পিউটিং) সেমাফোর (সমলয়/সমন্বয় টোকেন বা প্রক্রিয়া)

Origin & History

From French sémaphore, coined from Greek sēma (“sign”) + -phore (“bearing, carrying”). The English plural is semaphores.

ফরাসি sémaphore থেকে আগত; গ্রিক sēma (অর্থ ‘চিহ্ন/সংকেত’) + -phore (অর্থ ‘বহনকারী’) উপাদান থেকে গঠিত। ইংরেজিতে এর বহুবচন semaphores।

Definition

Semaphores are either (1) visual signalling apparatus or methods—such as flag, light, or arm-position signals used to represent letters/words—or (2) in computing, synchronization mechanisms (counters/tokens) used to coordinate processes/threads and limit access to shared resources.

সেমাফোর বলতে (১) পতাকা, আলো বা যান্ত্রিকভাবে নড়াচড়া করা বাহু/আর্মের অবস্থান দিয়ে অক্ষর/শব্দ বোঝাতে ব্যবহৃত দৃশ্যমান সংকেতযন্ত্র বা সংকেতপদ্ধতি, অথবা (২) কম্পিউটিংয়ে প্রক্রিয়া/থ্রেডের মধ্যে সমলয় ও সমন্বয়ের জন্য এবং শেয়ার্ড রিসোর্সে এক সময়ে সীমিত প্রবেশাধিকার নিশ্চিত করতে ব্যবহৃত সিঙ্ক্রোনাইজেশন মেকানিজম (কাউন্টার/টোকেন) বোঝায়।

Parts of Speech

Noun:
Railway semaphores were replaced by modern light signals on many lines.
অনেক রেলপথে পুরোনো সেমাফোর সংকেতের বদলে আধুনিক আলোক-সংকেত বসানো হয়েছে।
Noun (Computing):
The program uses semaphores to prevent two threads from writing to the file at the same time.
একই সময়ে দুটি থ্রেড যেন ফাইলে লিখতে না পারে, সে জন্য প্রোগ্রামটি সেমাফোর ব্যবহার করে।
Verb:
They semaphored instructions across the deck without speaking.
কথা না বলে তারা ডেকে সেমাফোর করে নির্দেশনা পাঠিয়েছিল।

Usage Examples

The sailors learned flag semaphores to communicate between ships.
জাহাজগুলোর মধ্যে যোগাযোগের জন্য নাবিকরা পতাকার সেমাফোর শিখেছিল।
In the old station, the mechanical semaphores still stood by the tracks.
পুরোনো স্টেশনে রেললাইনের পাশে যান্ত্রিক সেমাফোরগুলো এখনও দাঁড়িয়ে ছিল।
The thread increments the semaphore to prevent other threads from entering the critical section at the same time.
একই সময়ে অন্য থ্রেডগুলো যাতে ক্রিটিক্যাল সেকশনে ঢুকতে না পারে, সে জন্য থ্রেডটি সেমাফোরের মান বাড়ায়।
Semaphores help coordinate producer–consumer workflows in concurrent systems.
সমান্তরাল (কনকারেন্ট) সিস্টেমে প্রোডিউসার–কনজিউমার কাজের প্রবাহ সমন্বয় করতে সেমাফোর সহায়তা করে।

Synonyms

Signal Signalling system Flag signalling Traffic signal (contextual) Mutex (computing, related) Lock (computing, related)

Antonyms

Unsignalled communication Race condition (computing, contextual opposite)

Related Forms

Noun
Semaphore / Semaphores / Semaphore system / Flag semaphore
Adjective
Semaphore (attributive) / Semaphoric

Idioms & Phrases

To semaphore something
সেমাফোর করে (পতাকা/ইশারা দিয়ে) কিছু সংকেত/বার্তা পাঠানো
Signal with semaphores
সেমাফোর দিয়ে সংকেত দেওয়া