Implement __cxa_thread_atexit to support C++11 thread_local scope. The
authorkettenis <kettenis@openbsd.org>
Tue, 5 Dec 2017 13:45:31 +0000 (13:45 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 5 Dec 2017 13:45:31 +0000 (13:45 +0000)
commit0afcdeda897cccf53b8f99c1eb030fd52ee9ee99
treeae06143be769a47677266a3ccbc027b7cf3992e0
parent99f2fe774a96792a28bd9d5f11fff50cff036c93
Implement __cxa_thread_atexit to support C++11 thread_local scope.  The
interface is also made available as __cxa_thread_atexit_impl to satisfy the
needs of GNU libstdc++.

ok guenther@, millert@
lib/libc/Symbols.list
lib/libc/include/thread_private.h
lib/libc/shlib_version
lib/libc/stdlib/atexit.c
lib/libc/stdlib/atexit.h
lib/libc/thread/rthread.c