You dont have to worry about this, pmap distributes the work onto the workers (one each), and once a worker is done it gets a new piece of work to do.
Am 21.05.2015 um 09:49 schrieb Fred <[email protected]>: > Hi ! > > When the number of tasks exceed the number of CPUs, is it safe to send all > the tasks in pmap() function ? > > For example, if I have 20 tasks and 4 CPUs, can I use the command : > > pmap(function,[var1, var2....,var20]) > > Or is there a way to tel pmap() to process the task 4 by 4 ? > > Thanks ! ;)
