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)
commitc4a35f8c2a4b1a7e62a4b9e5b2748fb4fbcace79
treefb09ffd21bf934a0bf36e6fc583726c07bf43e96
parent7df42e8744d384c975b28192f66ab4c5e4c1fd90
debloat src/thread tree but putting lots of junk in one file

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.
16 files changed:
src/thread/pthread_attr_get.c [new file with mode: 0644]
src/thread/pthread_attr_getdetachstate.c [deleted file]
src/thread/pthread_attr_getguardsize.c [deleted file]
src/thread/pthread_attr_getinheritsched.c [deleted file]
src/thread/pthread_attr_getschedparam.c [deleted file]
src/thread/pthread_attr_getschedpolicy.c [deleted file]
src/thread/pthread_attr_getscope.c [deleted file]
src/thread/pthread_attr_getstack.c [deleted file]
src/thread/pthread_attr_getstacksize.c [deleted file]
src/thread/pthread_barrierattr_getpshared.c [deleted file]
src/thread/pthread_condattr_getclock.c [deleted file]
src/thread/pthread_condattr_getpshared.c [deleted file]
src/thread/pthread_mutexattr_getpshared.c [deleted file]
src/thread/pthread_mutexattr_getrobust.c [deleted file]
src/thread/pthread_mutexattr_gettype.c [deleted file]
src/thread/pthread_rwlockattr_getpshared.c [deleted file]