ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What is the mutex in .net? Why we use mutex?

user-image
تم إضافة السؤال من قبل mohd ikram , Software Engineer , VSK IT Services Pvt. Ltd.
تاريخ النشر: 2016/08/04
Abhijeet Saxena
من قبل Abhijeet Saxena , Software Engineering Analyst , Accenture Services Pvt. Ltd

a mutex is locking mechanism used to synchronize access to a resource. It provides thread Safety from external threads trying to access a portion of code.

Only one task (can be a thread or process ) can acquire the mutex. 

It means there is ownership associated with mutex, and only the owner can release the lock.

The Mutex type ensures blocks of code are executed only once at a time

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟