The NetBSD Project

CVS log for src/lib/libc/include/atexit.h

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / include

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: perseant-stdc-iso10646


Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 11 15:21:35 2017 UTC (6 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646

Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This
functions are used for destructors of thread_local objects.

If a pending destructor exists, prevent unloading of shared objects.
Introduce __dl_cxa_refcount interface for this purpose. When the last
reference is gone and the object has been dlclose'd before, the
unloading is finalized.

Ideally, __cxa_thread_atexit_impl wouldn't exist, but libstdc++ insists
on providing __cxa_thread_atexit as direct wrapper without further
patching.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>