Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: Passing functions as parameter (multiprocessing) (http://www.velocityreviews.com/forums/t954478-re-passing-functions-as-parameter-multiprocessing.html)

Peter Otten 11-13-2012 04:18 PM

Re: Passing functions as parameter (multiprocessing)
 
Oscar Benjamin wrote:

> I don't know if this is to do with the way that the code was
> simplified before posting but this subproc function wrapper does
> nothing (even after Peter fixed it below). This code is needlessly
> complicated for what it does.


Jean-Michel's Post had the following comment preceding his subproc()
definition

>>> # here it should be decorated, but for this example to be kept
>>> simple, the function is only wrapped, doing nothing special


which I unhelpfully removed...



All times are GMT. The time now is 11:02 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.