using pool context can be used to specify the context used for starting the worker processes usually pool is created using the function multiprocessing pool(alternatively the pool can be created using the pool(method of context object the pool class provides range of methods that can be used to submit work to the worker processes managed by the pool note that the methods of the pool object should only be called by the process which created the pool the following diagram illustrates the effect of submitting some work or task to the pool from the list of available processesone process is selected and the task is passed to the process the process will then execute the task on completion any results are returned and the process is returned to the available list if when task is submitted to the pool there are no available processes then the task will be added to wait queue until such time as process is available to handle the task the simplest of the methods provided by the pool for work submission is the map methodpool map(funciterablechunksize=nonethis method returns list of the results obtained by executing the function in parallel against each of the items in the iterable parameter the func parameter is the callable object to be executed (such as function or methodthe iteratable is used to pass in any parameters to the function this method chops the iterable into number of chunks which it submits to the process pool as separate tasks the (approximatesize of these chunks can be specified by setting chunksize to positive integer the method blocks until the result is ready