diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-05-04 15:14:29 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-05-04 15:14:29 +0200 |
commit | fd67a9cf7b733da082e4b6a5f25c19ea7921b4cd (patch) | |
tree | d3b9b15daa78a73e36a4624021585f916f8646d5 /ChangeLog | |
parent | 066746783d6c6c0f61b39c741177e24a9b398a20 (diff) | |
download | glibc-fd67a9cf7b733da082e4b6a5f25c19ea7921b4cd.tar.gz glibc-fd67a9cf7b733da082e4b6a5f25c19ea7921b4cd.tar.xz glibc-fd67a9cf7b733da082e4b6a5f25c19ea7921b4cd.zip |
aio: fix newp->running data race
* sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Do not write `running` field of `newp` when a thread was started to process it, since that thread will not take `__aio_requests_mutex`, and the field already has the proper value actually.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 45e8375e5f..575c17f7a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-05-04 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Do not write + `running` field of `newp` when a thread was started to process it, + since that thread will not take `__aio_requests_mutex`, and the field + already has the proper value actually. + 2016-05-04 Florian Weimer <fweimer@redhat.com> [BZ #19787] |