IMP
2.0.0
The Integrative Modeling Platform
|
This is high level wrapper of Pyro proxy objects, returns immediately with an empty Result object. More...
Inherits Thread.
Used to be able to be used alone (without a grid) since it could take care of clashing invocations.
REMARK:
Calls always has to be in the following order: proxy = g.acquire_service(service_id) ## returns proxy object proxy.set_parameters(p) # these functions will be performed sequentally proxy.f() # and service won't be freed proxy.g() # unless .release_service() is called g.release_service(proxy) However if g.acquire_service call is followed immediately by g.release_service, without calling proxy.f() or other proxy functions, service will never be actually freed. Because service is freed from inside PyroProxy in the run() cycle.
Definition at line 49 of file PyroGrid.py.