Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

differences between Pool.apply, Pool.apply_async, Pool.map and Pool.map_async.

| Multi-args   Concurrence    Blocking     Ordered-results
---------------------------------------------------------------------
Pool.map          | no           yes            yes          yes
Pool.map_async    | no           yes            no           yes
Pool.apply        | yes          no             yes          no
Pool.apply_async  | yes          yes            no           no
Pool.starmap      | yes          yes            yes          yes
Pool.starmap_async| yes          yes            no           no
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #differences
ADD COMMENT
Topic
Name
7+6 =