why consumer_thread was started first instead of producer_thread
Producer consumer code
Hello @kshitijain05_81c030a813eb8c76,
We have done like that because we wanted that our multithreading operation should be like the producer should start when consumer start consuming we can also perform in vice versa manner to understand the concept of multithreading.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.