网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 mutex
释义

mutex

英汉-汉英词典
n. 互斥量;互斥;互斥元,互斥体
词组 | 习惯用语
您要查找的是不是:
  • execute vt. 执行;实行;处死
  • mute adj. 哑的;沉默的;无声的 vt. 减弱……的声音;使……柔和
  • mutter vi. 咕哝;喃喃自语 vt. 咕哝;抱怨地说;低声含糊地说
  • mutate vi. 变化,产生突变 vt. 改变,使突变
mutex n. 互斥;互斥元,互斥体;互斥量

网络短语:
locking a mutex 加锁
non-recursive mutex 的性能差别其实不大
mutex lock 互斥锁
priority mutex 优先级互斥向量
Thread mutex 线程互斥体
mutex locking 互斥锁定
mutex variable 互斥量
mutex Lockable 普通的互斥锁
error-checking mutex 纠错互斥体
pthread mutex 互斥锁
中文百科

互斥锁 Mutual exclusion

(重定向自Mutex)

互斥锁(英语:英语:Mutual exclusion,缩写 Mutex)是一种用于多线程编程中,防止两条线程同时对同一公共资源(比如全局变量)进行读写的机制。该目的通过将代码切片成一个一个的临界区域(critical section)达成。临界区域指的是一块对公共资源进行访问的代码,并非一种机制或是算法。一个进程、进程、线程可以拥有多个临界区域,但是并不一定会应用互斥锁。

需要此机制的资源的例子有:旗标、队列、计数器、中断处理进程等用于在多条并行运行的代码间传递数据、同步状态等的资源。维护这些资源的同步、一致和完整是很困难的,因为一条线程可能在任何一个时刻被暂停(休眠)或者恢复(唤醒)。

英语百科

Mutual exclusion 互斥锁

(重定向自Mutex)
Figure 1: Two nodes, i and i + 1, being removed simultaneously results in node i + 1 not being removed.

In computer science, mutual exclusion refers to the requirement of ensuring that no two concurrent processes are in their critical section at the same time; it is a basic requirement in concurrency control, to prevent race conditions. Here, a critical section refers to a period when the process accesses a shared resource, such as shared memory. The requirement of mutual exclusion was first identified and solved by Edsger W. Dijkstra in his seminal 1965 paper titled Solution of a problem in concurrent programming control, and is credited as the first topic in the study of concurrent algorithms.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/18 17:41:09