projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make all objects used with atomic operations volatile
[musl]
/
src
/
aio
/
aio.c
diff --git
a/src/aio/aio.c
b/src/aio/aio.c
index
d1ee768
..
aafd8e8
100644
(file)
--- a/
src/aio/aio.c
+++ b/
src/aio/aio.c
@@
-53,7
+53,8
@@
struct aio_thread {
struct aiocb *cb;
struct aio_thread *next, *prev;
struct aio_queue *q;
- int running, err, op;
+ volatile int running;
+ int err, op;
ssize_t ret;
};