Show More
@@ -249,6 +249,8 b' blocks until the engines are done executing the command:' | |||||
249 | You can also select blocking execution on a call-by-call basis with the :meth:`apply_sync` |
|
249 | You can also select blocking execution on a call-by-call basis with the :meth:`apply_sync` | |
250 | method: |
|
250 | method: | |
251 |
|
251 | |||
|
252 | .. sourcecode:: ipython | |||
|
253 | ||||
252 | In [7]: dview.block=False |
|
254 | In [7]: dview.block=False | |
253 |
|
255 | |||
254 | In [8]: dview.apply_sync(lambda x: a+b+x, 27) |
|
256 | In [8]: dview.apply_sync(lambda x: a+b+x, 27) |
General Comments 0
You need to be logged in to leave comments.
Login now