Rewrite comments.
This commit is contained in:
1 parent
47a49263ae
commit
b1597f6f61
1 file changed
+2
-2
+2
-2
@@ -131,7 +131,7 @@ using std::memory_order_seq_cst;
|
|||||||
m_mutex_t __lock; \
|
m_mutex_t __lock; \
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Even memory order is defined, only the strongest constraint is used */
|
/* Even if memory order is defined, only the strongest constraint is used */
|
||||||
typedef enum {
|
typedef enum {
|
||||||
memory_order_relaxed,
|
memory_order_relaxed,
|
||||||
memory_order_consume,
|
memory_order_consume,
|
||||||
@@ -159,7 +159,7 @@ typedef _Atomic(size_t) atomic_size_t;
|
|||||||
typedef _Atomic(ptrdiff_t) atomic_ptrdiff_t;
|
typedef _Atomic(ptrdiff_t) atomic_ptrdiff_t;
|
||||||
|
|
||||||
/* Define the minimum size supported by the architecture
|
/* Define the minimum size supported by the architecture
|
||||||
for atomic read or write.
|
for an atomic read or write.
|
||||||
This can help a lot since it avoids locking for atomic_load and
|
This can help a lot since it avoids locking for atomic_load and
|
||||||
atomic_store.
|
atomic_store.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in new issue
Block a user