summaryrefslogtreecommitdiff
path: root/src/thread/pthread_attr_get.c
AgeCommit message (Collapse)AuthorLines
2012-11-11debloat src/thread tree but putting lots of junk in one fileRich Felker-0/+93
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.