This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v8 7/8] nptl: Add test cases for ISO C11 threads
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Florian Weimer <fweimer at redhat dot com>, libc-alpha at sourceware dot org
- Date: Fri, 13 Jul 2018 10:10:25 -0300
- Subject: Re: [PATCH v8 7/8] nptl: Add test cases for ISO C11 threads
- References: <1517591084-11347-1-git-send-email-adhemerval.zanella@linaro.org> <1517591084-11347-8-git-send-email-adhemerval.zanella@linaro.org> <4a152fab-0950-bc8a-a0a7-85e0e2472da8@redhat.com>
On 13/07/2018 06:31, Florian Weimer wrote:
> On 02/02/2018 06:04 PM, Adhemerval Zanella wrote:
>> This patch adds to testsuite new test cases to test all new introduced
>> C11 threads functions, types and macros are tested.
>
> Somewhere, there should be a test that the types (thrd_t, once_flag, mtx_t, cnd_t) have identicial size and alignment as the POSIX types, and that TSS_DTOR_ITERATIONS equals PTHREAD_DESTRUCTOR_ITERATIONS.
>
> It should probably be a separate test, to avoid including <pthread.h> in the <threads.h> tests.
Right, I will work on a extra test for this.