identify function that can be offloaded to another thread