feat add volatile
Some checks failed
ci/push/linux-aarch64-gcc/1 Pipeline was successful
ci/pr/linux-aarch64-gcc/1 Pipeline failed
ci/push/linux-x64-gcc/1 Pipeline was successful
ci/pr/linux-x64-gcc/1 Pipeline was successful
ci/push/linux-x64-gcc/2 Pipeline failed
ci/push/linux-aarch64-gcc/2 Pipeline failed
ci/pr/linux-aarch64-gcc/2 Pipeline failed
ci/pr/linux-x64-gcc/2 Pipeline failed
Some checks failed
ci/push/linux-aarch64-gcc/1 Pipeline was successful
ci/pr/linux-aarch64-gcc/1 Pipeline failed
ci/push/linux-x64-gcc/1 Pipeline was successful
ci/pr/linux-x64-gcc/1 Pipeline was successful
ci/push/linux-x64-gcc/2 Pipeline failed
ci/push/linux-aarch64-gcc/2 Pipeline failed
ci/pr/linux-aarch64-gcc/2 Pipeline failed
ci/pr/linux-x64-gcc/2 Pipeline failed
This commit is contained in:
parent
398442037e
commit
5d28389cac
@ -30,8 +30,8 @@ class CondVarTest : public ::testing::Test {
|
||||
protected:
|
||||
Mutex *m;
|
||||
CondVar *cv;
|
||||
bool is_set;
|
||||
bool is_timeout;
|
||||
volatile bool is_set;
|
||||
volatile bool is_timeout;
|
||||
std::thread *worker;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user