This is a lot like an assignment for my operating systems class to introduce threads&#x2F;lock (each elevator and rider is a thread).<p><a href="https:&#x2F;&#x2F;users.cs.duke.edu&#x2F;~chase&#x2F;cps310&#x2F;lab3-elevator.html" rel="nofollow">https:&#x2F;&#x2F;users.cs.duke.edu&#x2F;~chase&#x2F;cps310&#x2F;lab3-elevator.html</a>