ThreadCall module with WorkThread and CFunction types.