What is the translation of " 原子操作 " in English?

atomic operations
原子 操作
atomic operation
原子 操作

Examples of using 原子操作 in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
原子操作的优势是它们不blockcompetingthreads。
The advantage of atomic operations is that they do not block competing threads.
下面这些则不是原子操作.
It is not atomic operation.
Redis支持针对这些数据类型的一组原子操作
Redis supports a set of atomic operations on these data types.
对于64位的引用地址的读写,都是原子操作.
Now on a 64-bit maching reading orwriting a 64-bit word is atomic operation.
针对一个变量的读写操作是原子操作;.
The writing of a value to a volatile variable is an atomic operation.
原子操作在完成前不会有看得见的副作用。
No side effects of an atomic operation are visible until the action is complete.
这些原子操作属于Atomics模块。
The Atomic operations are installed on an Atomics module.
对每条消息执行原子操作没有太多意义。
There's not much point in doing an atomic operation for each message.
首先,识别原子操作
First, identify the atomic operations.
原子操作可以让你在32位或64位的处理器上面执行简单的数学和逻辑的运算操作。
Atomic operations let you perform simple mathematical and logical operations on 32-bit or 64-bit values.
尽管锁和条件在并发设计中使用非常普遍,原子操作也是另外一种保护和同步访问数据的方法。
Although locks andconditions are very common in concurrent design, atomic operations are another way to protect and synchronize access to data.
一般而言,原子操作指的是由多步组成的一个操作。
In general, the term atomic operation refers to an operation that is composed of multiple steps.
原子操作保证在写上修改的值之前不会发生其他写操作。
This atomic operation guarantees that no other write happens until the modified value is written back.
原子操作使用特殊的硬件设施来保证变量的改变在其他线程可以访问之前完成。
Atomic operations use special hardware instructions to ensure that modifications to a variable are completed before other threads have a chance to access it.
相反,它可以使用单个原子操作将所有未决消息移动到队列的“预读”部分。
Instead, it can move all the pending messages toa"pre-read" portion of the queue using a single atomic operation.
普通的操作都是顺序的原子操作,因此分区总是在两笔操作之间开始。
Normal operation is a sequence of atomic operations, and thus partitions always start between operations..
原子操作是同步的一个简单的形式,它处理简单的数据类型。
Atomic operations are a simple form of synchronization that work on simple data types.
注意:incr()必须仍然使用synchronize,因为mValue++不是单个原子操作
(Note incr() must still use synchronize sincemValue++ is otherwise not a single atomic operation.).
与memory_order_relaxed不同,这允许使用此类原子操作将一个线程的进度传递给另一个线程。
Unlike memory_order_relaxed, this allows such atomic operations to be used to communicate the progress of one thread to another.
锁和原子操作通常包含了内存屏障和内核级别同步的使用来确保代码正确被保护。
Locks and atomic operations generally involve the use of memory barriers and kernel-level synchronization to ensure code is properly protected.
原子操作在以下情况的时候提供了替代锁的轻量级的方法,其中你可以执行标量数据类型的数学或逻辑运算。
Atomic operations offer a lightweight alternative to locks in situations where you can perform mathematical or logical operations on scalar data types.
锁和原子操作通常包含了内存屏障(memorybarriers)和内核级别(kernel-level)同步的使用来确保代码正确被保护。
Locks and atomic operations generally involve the use of memory barriers and kernel-level synchronization to ensure code is properly protected.
C++11标准为并发机制提供了一个非常牢固的基础:内存模型、原子操作,和线程的概念以及线程锁。
What C++11 offers is solid foundations for concurrency:memory model, atomic operations and the concept of threads and locks.
任何时刻两个线程同时操作一个共享变量,当其中一个为写操作时,这两个线程必须使用原子操作
Any time two threads operate on a shared variable concurrently, and one of those operations performs a write,both threads must use atomic operations.
但是,如果在重试后操作仍然失败(与原子操作不同),则会产生副作用。
If, however, the operations fails even after retrying, unlike with atomic operations, it might leave side effects.
对具有相同分区键的实体的查询速度将更快,并且可以在原子操作中插入/更新这些实体。
Entities with the same partition key can be queried more quickly,and inserted/updated in atomic operations.
你可能会注意到,m_recurtion的值被修改的时候,不会用到任何原子操作
You may notice that m_recursion is modified without using any atomic operations.
表4-2列出了在无争议情况下使用互斥锁和原子操作的近似的相关成本。
Table 4-2 lists some of the approximate costs associated with mutexes and atomic operations in the uncontested case.
对一个不是8字节对齐的64位字进行64位原子操作将在运行时刻产生一个恐慌。
Bit atomic operations on a 64-bit word which is not 8-byte aligned will panic at runtime.
Results: 29, Time: 0.0247

Word-for-word translation

Top dictionary queries

Chinese - English