[IPython-dev] taskclient clear and hierarchical parallel processing
Fernando Perez
fperez.net at gmail.com
Thu May 13 04:31:48 EDT 2010
On Wed, May 12, 2010 at 11:59 AM, Brian Granger <ellisonbg at gmail.com> wrote:
>
>> alternatively, is there a way to clear a specific task based on its task id?
>> basically i want to use the same pool of resources from multiple client
>> connections.
>
> We don't have a way of doing this currently. Basically, you should
> call clear() when you know all clients are done with a set of tasks
> and you want to free up that memory.
Mmmh, I now realize that I think I misunderstood Satra earlier today.
Satra, clear() only flushes *already completed* tasks. Do you want to
cancel tasks, or clear completed ones but by id?
Cheers,
f
More information about the IPython-dev
mailing list