Make HostQueue::queue_count_ a portable atomic type.
Also make lint happy. Change-Id: I0f965df6a76fd959df9eb411d1f1b11847159790
Este cometimento está contido em:
1 ascendente
ce6aee01ed
cometimento
d93f92f42d
4 ficheiros modificados
+15
-13
Não existem ficheiros que correspondam à sua pesquisa
@@ -166,7 +166,7 @@ class HostQueue : public Queue {
|
||||
|
||||
// Host queue id counter, starting from 0x80000000 to avoid overlaping
|
||||
// with aql queue id.
|
||||
static volatile uint32_t queue_count_;
|
||||
static std::atomic<uint32_t> queue_count_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(HostQueue);
|
||||
};
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador