This is an itch I've been wanting to scratch for a while, makes calls to threapool_map a bit more readable.
threapool_map