diff options
| author | Jason Evans <jasone@FreeBSD.org> | 2008-08-27 02:00:53 +0000 |
|---|---|---|
| committer | Jason Evans <jasone@FreeBSD.org> | 2008-08-27 02:00:53 +0000 |
| commit | d6742bfbd3ecadd2bde38ccbb2351bd5c19ede1d (patch) | |
| tree | 0e5399c773ca24c377f8a89207f8b7bf90716b12 /lib/libc/include | |
| parent | 55b418d32b6e12d722ca398b41e69320f809ed76 (diff) | |
Notes
Diffstat (limited to 'lib/libc/include')
| -rw-r--r-- | lib/libc/include/libc_private.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index 70e1ef81014c..50903f3c74fa 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -158,6 +158,12 @@ void _set_tp(void *tp); extern const char *__progname; /* + * This function is used by the threading libraries to notify malloc that a + * thread is exiting. + */ +void _malloc_thread_cleanup(void); + +/* * These functions are used by the threading libraries in order to protect * malloc across fork(). */ |
