module flaskJSONRPCServer.gmultiprocessing

Description

Add compatibility for gevent and multiprocessing.
Source based on project GIPC 0.6.0
https://bitbucket.org/jgehrcke/gipc/

class _GProcess()

Description
Compatible with the ``multiprocessing.Process`` API.
Return
instance Instance of class _GProcess

method_public join(self, timeout=None)

Description
Wait cooperatively until child process terminates or timeout occurs.

method_private _on_sigchld(self, watcher)

Description
Callback of libev child watcher. Called when libev event loop
catches corresponding SIGCHLD signal.

method_special __repr__(self)

method_undoc is_alive(self)

method_undoc start(self)

function_private _child(target, args, kwargs)

Description
Wrapper function that runs in child process. Resets gevent/libev state
and executes user-given function.

function_private _reraise(tp, value, tb=None)

function_private _reset_signal_handlers()

function_private _tryGevent()

function_special __exec(_code_, _globs_=None, _locs_=None)

Description
Execute code in a namespace.

function_undoc Process(target, args=(), kwargs={}, name=None)