This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix rwlock stall with PREFER_WRITER_NONRECURSIVE_NP (bug 23861)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 11 Dec 2018 16:33:15 +0100
- Subject: Re: [PATCH] Fix rwlock stall with PREFER_WRITER_NONRECURSIVE_NP (bug 23861)
- References: <mvmr2eo87jr.fsf@suse.de>
* Andreas Schwab:
> +volatile int do_exit;
Please no volatile, and use the GCC __atomic builtins instead (not the
glibc-internal ones, which are inaccessible). I think the minimum GCC
version does not yet support proper C11 atomics.
Thanks,
Florian