Word · Frequency #23968
locking
加锁;锁定
核心释义
The use of a lock or a mutex to restrict access to a part of the code to at most one process.
- 1.
使用锁或互斥量限制代码某部分最多只能被一个进程访问
The use of a lock or a mutex to restrict access to a part of the code to at most one process.
使用锁或互斥量限制代码某部分最多只能被一个进程访问
用法In use
The locking of the door is essential before leaving.
用法提示:这里'locking'作为名词,表示锁门的动作。
He checked the locking on all the windows.
用法提示:这里'locking'作为名词,指锁闭的状态或动作。
The automatic locking system engages when the car reaches a certain speed.
用法提示:这里'locking'作为名词,是锁定系统的一部分。
the locking of [noun]
常用于描述对某物的锁定动作。
The locking of the file prevents unauthorized access.
文件的锁定防止未授权访问。
[verb] locking
与动词搭配表示执行锁定操作。
The system supports automatic locking.
相关词与表达Connections
搭配Collocations
- locking mechanism
- 锁机制
- The database uses a locking mechanism to prevent concurrent writes.数据库使用锁机制防止并发写入。
- locking protocol
- 加锁协议
- The two-phase locking protocol ensures serializability in transactions.两阶段加锁协议确保事务的可串行化。
- locking granularity
- 锁粒度
- Choose the locking granularity to balance concurrency and overhead.选择锁粒度以平衡并发性和开销。
- locking overhead
- 加锁开销
- Excessive locking overhead can slow down the system.过多的加锁开销会拖慢系统。
- two-phase locking
学习提示Learner notes
记忆技巧Memory Tip
想象代码门上一把锁(lock):同一时刻只放一个进程进去,其他进程只能排队等锁。
语境与语域Context & Register
语域:formal 常见场景:concurrent programming、multithreading、technical documentation 该义项主要用于计算机编程领域,通常出现在并发编程、多线程等技术讨论或文档中,属于比较正式的术语用法。
语法说明Grammar Note
在计算机科学中常用,表示锁定的动作或实例,可数名词。
发音与拼写Pronunciation & Spelling
这些词都以 -ocking 结尾,重读音节元音为 /ɔ/,与 locking 押韵。注意别把 locking 和拼写相似的 looking /ˈlʊkɪŋ/、liking /ˈlaɪkɪŋ/ 混淆,它们发音不同。
一起学习词形Learn the forms together
页面下方列出了常见词形变化。学习时注意它们在句子中的语法位置。
Dictionary facts from AI_FALLBACK, ECDICT, WIKTIONARY.