See: http://stackoverflow.com/questions/11062292/are-pthread-attribute-objects-required-to-exist-for-the-lifetime-of-the-object-t