Package lib :: Package cuckoo :: Module misc
[hide private]
[frames] | no frames]

Module misc

source code

Functions [hide private]
 
dispatch(func, args=(), kwargs={}, timeout=60, process=True)
Dispatch a function call to a separate process or thread to execute with a maximum provided timeout.
source code
Variables [hide private]
  __package__ = 'lib.cuckoo'
Function Details [hide private]

dispatch(func, args=(), kwargs={}, timeout=60, process=True)

source code 

Dispatch a function call to a separate process or thread to execute with a maximum provided timeout. Note that in almost all occurrences a separate process should be used as otherwise we might end up with out-of-order locking mechanism instances, resulting in undefined behavior later on.