From fd67a9cf7b733da082e4b6a5f25c19ea7921b4cd Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 4 May 2016 15:14:29 +0200 Subject: 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. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 45e8375e5f..575c17f7a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-05-04 Samuel Thibault + + * 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 [BZ #19787] -- cgit v1.2.3