mutex

[الولايات المتحدة]/ˈmjuːtɛks/
[المملكة المتحدة]/ˈmjuːtɛks/
التكرار: مرتفع جداً

ترجمة

n. كائن استبعاد متبادل يُستخدم في البرمجة لمنع الوصول المتزامن إلى مورد مشترك

عبارات وتراكيب

mutex lock

Arabic_translation

holding mutex

Arabic_translation

acquire mutex

Arabic_translation

release mutex

Arabic_translation

nested mutex

Arabic_translation

mutex guard

Arabic_translation

mutex state

Arabic_translation

mutex contention

Arabic_translation

using mutex

Arabic_translation

mutex timeout

Arabic_translation

جمل مثال

the mutex prevents race conditions when multiple threads access shared data.

يمنع المِفتاح الحصري حدوث حالات السباق عندما تصل عدة سلاسل عمليات إلى بيانات مشتركة.

acquire the mutex before modifying the critical section of code.

اكتسب المِفتاح الحصري قبل تعديل القسم الحرج من التعليمات البرمجية.

release the mutex after you're finished with the protected resource.

حرر المِفتاح الحصري بعد الانتهاء من استخدام المورد المحمي.

deadlock can occur if mutexes are not released properly.

قد يحدث الجمود إذا لم يتم تحرير المِفاتيح الحصرية بشكل صحيح.

use a recursive mutex if a thread might acquire it multiple times.

استخدم مِفتاحًا حصريًا متكررًا إذا كان من المحتمل أن تحصل سلسلة عمليات عليه عدة مرات.

the mutex ensures exclusive access to the printer queue.

يضمن المِفتاح الحصري الوصول الحصري إلى قائمة انتظار الطابعة.

implement a mutex to protect the global variable from concurrent access.

قم بتطبيق مِفتاح حصري لحماية المتغير العام من الوصول المتزامن.

check if the mutex is already held before attempting to acquire it.

تحقق مما إذا كان المِفتاح الحصري محتجزًا بالفعل قبل محاولة الحصول عليه.

the mutex provides a simple mechanism for thread synchronization.

يوفر المِفتاح الحصري آلية بسيطة لمزامنة سلاسل العمليات.

avoid holding a mutex for an extended period to prevent blocking other threads.

تجنب الاحتفاظ بالمِفتاح الحصري لفترة طويلة لتجنب حظر سلاسل العمليات الأخرى.

the application uses a mutex to serialize access to the database connection.

يستخدم التطبيق مِفتاحًا حصريًا لتسلسل الوصول إلى اتصال قاعدة البيانات.

كلمات شائعة

استكشف المفردات الأكثر بحثًا

نزّل التطبيق لفتح المحتوى الكامل

هل تريد تعلم المفردات بشكل أكثر فاعلية؟ قم بتنزيل تطبيق DictoGo واستمتع بمزيد من ميزات حفظ ومراجعة المفردات!

نزّل DictoGo الآن