Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8924673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:28:57+00:00 2026-06-15T07:28:57+00:00

How many threads in minimum will be required for developing a traffic signal application?

  • 0

How many threads in minimum will be required for developing a traffic signal application?
I think it is only one, because when any one of the lights is in green the other 3 directions will be red. And for this application there is no need for multiple operations to be run parallel y.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:28:58+00:00Added an answer on June 15, 2026 at 7:28 am

    As a driver, I sure hope it’s only one thread!

    You would only need one thread, but imagine the implications of non-threadsafe code or threading bugs…
    someone could literally die!

    Edited

    Actually, "it depends" is the correct answer, if there is one.

    Simple traffic lights, for example pedestrian crossings, could simply block waiting for a button press then complete the cycle and return to a blocking wait again.

    Complex event-driven lights that can receive many inputs, may need multiple threads if the hardware doesn’t support interrupts or other single threaded mechanisms for dealing with real time input signals.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have many threads in my application, how do I stop only one thread
Can any tell me that how many threads I can use in an application.
Many threads have access to summary . Each thread will have an unique key
If many threads are calling GetNextNumber simultaneously with the following code, GetNextNumber will return
I saw many threads with this tittle, but no one really speak about reuse
I read many threads in stackoverflow and also googled but i still have one
Is there any way to check how many threads are waiting for a synchronized
I'm writing an application that will have to be able to handle many concurrent
There are many threads on find replace text for python but I think my
I've read many threads on here and haven't yet come across the right one.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.