Message70603
| Author |
mark.dickinson |
| Recipients |
benjamin.peterson, donmez, jnoller, mark.dickinson |
| Date |
2008年08月01日.22:32:18 |
| SpamBayes Score |
0.0066153975 |
| Marked as misclassified |
No |
| Message-id |
<1217629940.47.0.0249490507699.issue3419@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
For the connection refused error, the following script fails for me
(again, on OS X 10.5.4) with the message:
errno: [Errno 61] Connection refused
on most runs. (If xrange(10) is replaced by a smaller range like
xrange(4) then the script usually runs without error.) Looks like
something in semaphore.c needs fixing, but I've no idea what.
from multiprocessing import Process, Manager
sleeping = Manager().Semaphore(0)
def f():
sleeping.release()
for _ in xrange(10):
Process(target=f).start()
for _ in xrange(10):
sleeping.acquire() |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年08月01日 22:32:20 | mark.dickinson | set | recipients:
+ mark.dickinson, donmez, benjamin.peterson, jnoller |
| 2008年08月01日 22:32:20 | mark.dickinson | set | messageid: <1217629940.47.0.0249490507699.issue3419@psf.upfronthosting.co.za> |
| 2008年08月01日 22:32:19 | mark.dickinson | link | issue3419 messages |
| 2008年08月01日 22:32:18 | mark.dickinson | create |
|