Got queue working for single threaded testing, multithreaded not working. Something to do with empty and full calls