[cs33211] Construction Zone

Mikhail Nesterenko mikhail at cs.kent.edu
Fri Oct 5 17:42:10 EDT 2012


> I have code working for construction zone that takes the entries as
> they come, has them cross the street (wait certain time depending on
> speed) and then exit and then the next one does the same.  They are
> not overlapping or anything like that and I accomplished this just
> using a mutex.

You need to let cars through at the same time if they go in the same
direction and you need to let pedestrians through. So, single mutex
solution is not acceptable.

-- 
Mikhail


More information about the cs33211 mailing list