Concurrency in the Stoplight Problem

Stoplight code consistently passes in local but fails when running on the server saying “no concurrency achieved”. ANY IDEA as to where I could be going wrong?

Problem resolved.
Problem: I was limiting the threads that wanted to turn right.
Solution : Dont limit the ones turning right.Right turn is free.