docs - threading macros