summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/atexit.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement __cxa_atexit/__cxa_finalize as specified by the cross-vendorAlexander Kabaev2003-12-191-7/+101
| | | | | | | | | | | | | | | | C++ ABI document at http://www.codesourcery.com/cxx-abi/abi.html#dso-dtor The ABI was initially defined for ia64, but GCC3 and Intel compilers have adopted it on other platforms. This is the patch from PR bin/59552 with a number of changes by me. PR: bin/59552 Submitted by: Bradley T Hughes (bhughes at trolltech dot com) Notes: svn path=/head/; revision=123673
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-2/+2
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* Remove 'register' keyword.David E. O'Brien2002-03-211-1/+1
| | | | Notes: svn path=/head/; revision=92889
* When multiple threads call atexit at the same time, some operations mustTor Egge2002-03-051-2/+28
| | | | | | | | | | | | | be serialized. A mutex is used to protect the critical regions. sbrk() and brk() are not thread safe. Replace use of sbrk() with a call to malloc to avoid race when one thread calls atexit while another thread calls malloc. Reviewed by: deischen Notes: svn path=/head/; revision=91697
* Merge Lite2 changesPeter Wemm1997-03-111-1/+3
| | | | Notes: svn path=/head/; revision=23662
* Don't use malloc, pessimize to use sbrk.Poul-Henning Kamp1996-09-271-1/+2
| | | | | | | fix sbrk manpage while we're at it. Notes: svn path=/head/; revision=18516
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+66
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573