Package ClusterShell :: Module Task :: Class Task :: Class tasksyncmethod
[hide private]
[frames] | no frames]

Class tasksyncmethod

source code


Class encapsulating a function that checks if the calling task is running or is the current task, and allowing it to be used as a decorator making the wrapped task method thread-safe.

Instance Methods [hide private]
 
__call__(self, f) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__