summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/exit.c
Commit message (Collapse)AuthorAgeFilesLines
* Reference an external variable in threaded programs so that theJohn Birrell1998-04-291-0/+6
| | | | | | | autoinitialiser gets linked in and therefore called before main(). Notes: svn path=/head/; revision=35502
* Add a global variable called __isthreaded that can be tested throughoutJohn Birrell1998-04-111-0/+9
| | | | | | | | | | | libc to determine if locking is required. This is needed in libc for use with kernel threads, but until a thread is created, we don't really want to bother locking things. The variable was added here because the crt code calls exit(main()) so all programs will get the variable. Notes: svn path=/head/; revision=35125
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+60
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573