mutex

[ארה"ב]/ˈmjuːtɛks/
[בריטניה]/ˈmjuːtɛks/
שכיחות: גבוה מאוד

תרגום

n. אובייקט ניסוח הדדי המשמש בبرمجة כדי למנוע גישה מתמשכת למקור משותף

צירופים וביטויים

mutex lock

блокировка מוטקס

holding mutex

החזקת מוטקס

acquire mutex

הכשרת מוטקס

release mutex

שחרור מוטקס

nested mutex

מוטקס משותף

mutex guard

מגן מוטקס

mutex state

מצב מוטקס

mutex contention

תנגודת מוטקס

using mutex

שימוש במוטקס

mutex timeout

תנאי זמן מוטקס

דוגמאות למשפטים

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

ה뮤텍ס מונע מצבים של תחרות כאשר מספר חוטים גורמים לเข้า גישה לנתונים משותפים.

acquire the mutex before modifying the critical section of code.

השגMutex לפני ש משנה את התחום הקריטי של הקוד.

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

השתחרר Mutex לאחר שהסיימת עם המשאב המוגן.

deadlock can occur if mutexes are not released properly.

תסננת יכולה להתרחש אם Mutexים לא משוחררים כראוי.

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.

יש לממש Mutex כדי להגן על משתנה גלובלי מכניסה מקבילה.

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

בדוק אם Mutex כבר מוחזק לפני ניסיון להשתלט עליו.

the mutex provides a simple mechanism for thread synchronization.

ה뮤텍ס מספק מנגנון פשוט לסנכרון חוטים.

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

הימנעו מהחזקת Mutex לתקופה ארוכה כדי למנוע את חסימת חוטים אחרים.

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

האפליקציה משתמשת ב뮤텍ס כדי לסדר גישהへの חיבור לבסיס הנתונים.

מילים פופולריות

חקור אוצר מילים שמחפשים לעיתים קרובות

הורד את האפליקציה כדי לפתוח את כל התוכן

רוצה ללמוד אוצר מילים ביעילות רבה יותר? הורד את אפליקציית DictoGo ותהנה מאפשרויות נוספות לשינון ולתרגול אוצר מילים!

הורד את DictoGo עכשיו