libcopp  2.2.0
Namespaces | Data Structures | Enumerations
util::lock Namespace Reference

Namespaces

 detail
 

Data Structures

class  atomic_int_type
 
struct  unsafe_int_type
 
class  atomic_int_type< unsafe_int_type< Ty > >
 
class  lock_holder
 
class  read_lock_holder
 
class  write_lock_holder
 
class  spin_lock
 自旋锁 More...
 

Enumerations

enum  memory_order {
  memory_order_relaxed = 0 , memory_order_consume , memory_order_acquire , memory_order_release ,
  memory_order_acq_rel , memory_order_seq_cst
}
 

Enumeration Type Documentation

◆ memory_order

Enumerator
memory_order_relaxed 
memory_order_consume 
memory_order_acquire 
memory_order_release 
memory_order_acq_rel 
memory_order_seq_cst 

Definition at line 326 of file atomic_int_type.h.