Discover answers to your questions with Westonci.ca, the leading Q&A platform that connects you with knowledgeable experts. Get quick and reliable answers to your questions from a dedicated community of professionals on our platform. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

What is the primary purpose of a mutex in multithreading?
Group of answer choices
O To wait on a condition variable
O To create a new thread
O To lock a critical section to achieve mutual exclusion
O To destroy a thread