tpool: added starmap() and imap() methods