MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Operating System
Semaphores 2
Q
What is a mutex?
AA. Is a binary mutex
BB. Must be accessed from only one process
CC. Can be accessed from multiple processes
DD. None of the mentioned
Correct Answer:
B. B. Must be accessed from only one process
Explanation:
میوٹیکس (Mutex) کیا ہے؟
میوٹیکس (جس کا پورا نام Mutual Exclusion ہے) آپریٹنگ سسٹم میں ایک ایسا تالا (Lock) ہے جو یہ یقینی بناتا ہے کہ کمپیوٹر کا کوئی بھی خاص حصہ یا ڈیٹا (Shared Resource) ایک وقت میں صرف ایک ہی پروگرام یا تھریڈ (Thread) استعمال کرے۔