make two thread-all macros and bind em as functions