mutex

[สหรัฐอเมริกา]/ˈmjuːtɛks/
[สหราชอาณาจักร]/ˈmjuːtɛks/
ความถี่: สูงมาก

คำแปล

n. วัตถุผลัก exclusion ที่ใช้ในการเขียนโปรแกรมเพื่อป้องกันการเข้าถึงทรัพยากรที่ใช้ร่วมกันพร้อมกัน

วลีและการจับคู่คำ

mutex lock

Thai_translation

holding mutex

Thai_translation

acquire mutex

Thai_translation

release mutex

Thai_translation

nested mutex

Thai_translation

mutex guard

Thai_translation

mutex state

Thai_translation

mutex contention

Thai_translation

using mutex

Thai_translation

mutex timeout

Thai_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 ตอนนี้