Using pointer to executor globals instead of fetching it from TSRM_RSRC