This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v5] Add pretty printers for the NPTL lock types
- From: Martin Galvan <martin dot galvan at tallertechnologies dot com>
- To: Siddhesh Poyarekar <sid at reserved-bit dot com>
- Cc: libc-alpha at sourceware dot org, "Carlos O'Donell" <carlos at redhat dot com>, Tom Tromey <tom at tromey dot com>, Daniel Gutson <daniel dot gutson at tallertechnologies dot com>, Roland McGrath <roland at hack dot frob dot com>
- Date: Tue, 12 Apr 2016 15:47:44 -0300
- Subject: Re: [PATCH v5] Add pretty printers for the NPTL lock types
- Authentication-results: sourceware.org; auth=none
- References: <CAOKbPbY87ATbCF=W-6+26vfjw1mkt8aX6TuKLWBB3BANW8N8oQ at mail dot gmail dot com> <1460472939-9725-1-git-send-email-martin dot galvan at tallertechnologies dot com> <20160412155919 dot GG30851 at devel dot intra dot reserved-bit dot com>
On Tue, Apr 12, 2016 at 12:59 PM, Siddhesh Poyarekar
<sid@reserved-bit.com> wrote:
> Write them outside the condition, i.e.
>
> ret = pthread_rwlockattr_setkind_np (attr,
> PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP);
I thought it was mandatory to align the parameters to a function so
that they start at the same column in their respective lines. If it's
not, I can simply do:
&& pthread_rwlockattr_setkind_np (attr,
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP) == 0