So I just want to clarify this before attempting to do multithread program. If I were to have 2 threads run simutaneously. And both of them are going to access the same QUEUE which is going to be mutex locked. Since both of them are going to fill the Queue up. Would this cause a deadlock and I would need pthread conditions to avoid deadlocks or will the mutex function cause the other thread to just wait until it becomes unlocked?