About 51,800 results
Open links in new tab
  1. Semaphore (programming) - Wikipedia

    In computer science, a semaphore is a variable or abstract data type used to control access to a common resource by multiple threads and avoid critical section problems in a concurrent system …

  2. Types of Semaphore - GeeksforGeeks

    Feb 23, 2026 · The type of semaphore determines whether only one process or multiple processes can access a resource at a time. Depending on system requirements, semaphores are mainly divided …

  3. multithreading - What is a semaphore? - Stack Overflow

    Aug 29, 2008 · 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?

  4. What Is a Semaphore? From Flags to Code - ScienceInsights

    5 days ago · A semaphore is a signaling mechanism. In computing, it’s a variable that controls access to shared resources when multiple processes or threads run at the same time. Outside of computing, …

  5. What Is a Semaphore? | Baeldung on Computer Science

    Mar 18, 2024 · A semaphore is an integer variable, shared among multiple processes. The main aim of using a semaphore is process synchronization and access control for a common resource in a …

  6. Understanding the Concept of Semaphore in Programming

    What is a Semaphore? A semaphore is a powerful tool in programming used to control access to a common resource in a concurrent system, like an operating system or a multi-threaded application. …

  7. What is Semaphore? Counting, Binary Types with Example - Guru99

    Aug 12, 2024 · Semaphore is simply a variable that is non-negative and shared between threads. A semaphore is a signaling mechanism, and a thread that is waiting on a semaphore can be signaled …

  8. SEMAPHORE Definition & Meaning - Merriam-Webster

    The meaning of SEMAPHORE is an apparatus for visual signaling (as by the position of one or more movable arms).

  9. What are Semaphores and How Do They Work? - Guru Software

    Sep 4, 2024 · Conceptually, you can think of a semaphore as a "traffic officer" that controls access to a critical section of highway, with cars being the threads trying to proceed. The red light halts cars from …

  10. Semaphore | Signaling, Telegraphy, Flags | Britannica

    semaphore, method of visual signaling, usually by means of flags or lights. Before the invention of the telegraph, semaphore signaling from high towers was used to transmit messages between distant …