Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/lib/libpthread



Module Name:    src
Committed By:   martin
Date:           Fri Sep 13 06:54:09 UTC 2019

Modified Files:
        src/lib/libpthread [netbsd-9]: thrd.c threads.h

Log Message:
Pull up following revision(s) (requested by kamil in ticket #198):

        lib/libpthread/thrd.c: revision 1.4
        lib/libpthread/threads.h: revision 1.3

Switch back _Noreturn to __dead in C11 threads

There is an ongoing discussion to unify unreturn attribute between C and
C++, making a compatible version, shared between languages. Instead of
picking C11-only approach here, switch back to __dead that wraps the
compiler extension for the same purpose.

This change makes this header more compatible with C++ and pre-C11.
Reference:

<a  rel="nofollow" href="http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2410.pdf";>http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2410.pdf</a>


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.4.1 src/lib/libpthread/thrd.c
cvs rdiff -u -r1.2 -r1.2.4.1 src/lib/libpthread/threads.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index