Closed AlecThomson closed 4 years ago
Does the program hang or exit after that display? What happens if you put a list
call around both of the pool.map
lines? Thanks!
It doesn't hang, just exits like you would expect.
The list
call worked! Is that the expected behaviour, or more of a workaround?
Great! That's the behavior I would expect (map should return an iterator) so I'm surprised that the MultiPool isn't the same!
Hi there,
I'm currently using version 0.3.0:
I'm finding that I can't get SerialPool to begin working. Here's a simple script which reproduces the problem:
The only output I get is 0..10. I've found the same problem on more complex examples, with my own functions, and with and without
with
statements.Cheers