Add thread_options_pack structure