We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 216471a commit 0d4d986Copy full SHA for 0d4d986
test/class/opal_fifo.c
@@ -2,6 +2,7 @@
2
/*
3
* Copyright (c) 2014 Los Alamos National Security, LLC. All rights
4
* reserved.
5
+ * Copyright (c) 2018 IBM Corporation. All rights reserved.
6
* $COPYRIGHT$
7
*
8
* Additional copyrights may follow
@@ -103,7 +104,7 @@ static void *thread_test_exhaust (void *arg) {
103
104
105
static bool check_fifo_consistency (opal_fifo_t *fifo, int expected_count)
106
{
- opal_list_item_t *item;
107
+ volatile opal_list_item_t *volatile item;
108
int count;
109
110
for (count = 0, item = fifo->opal_fifo_head.data.item ; item != &fifo->opal_fifo_ghost ;
0 commit comments