Expose thread options in thread namespace