debloat src/thread tree but putting lots of junk in one file
authorRich Felker <dalias@aerifal.cx>
Sun, 11 Nov 2012 21:08:38 +0000 (16:08 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 11 Nov 2012 21:08:38 +0000 (16:08 -0500)
POSIX includes mostly-useless attribute-get functions for each
attribute-set function, presumably out of some object-oriented
dogmatism. the get functions are not useful with the simple idiomatic
usage of attributes. there are of course possible valid uses of them
(like writing wrappers for pthread init functions that perform special
actions on the presence of certain attributes), but considering how
tiny these functions are anyway, little is lost by putting them all in
one file, and some build-time cost and archive-file-size benefits are
achieved.


No differences found