multiprocessing
File Purpose: tools related to multiprocessing
Functions
|
checks that x, is pickleable, by pickling then unpickling. |
returns copy of x via pickle.loads(pickle.dumps(x)). |
|
|
returns x. |
returns whether x is a Task-like element. |
|
adds 100 to x |
|
|
print inputs then return (args, kw) |
|
sleeps for t seconds, then returns t |
sleeps for t seconds, then returns t+100 |
Classes
|
callable which is not intended to be called. |
|
task which returns its (single) input. |
empty class useful for multiprocessing testing. |
|
|
a single task, i.e. a function, args, & kwargs. |
|
a container for multiple tasks; each Task is a function, args, & kwargs. |
|
a container for multiple tasks; each Task is a function, args, & kwargs. |
object with attrs corresponding to the main kwargs for TaskContainer.__call__. |
|
|
treats a dict of Tasks as if it was a single Task. |
|
a container for multiple tasks; each Task is a function, args, & kwargs. |
|
a container for a list of TaskGroups, each with Tasks from the same TaskContainer. |
|
a unique task. |