I\'m working on a multithread application for an exercise used to simulate a warehouse (similar to the producer consumer problem) however I\'m running into some trouble with