Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
d034b32f
Kaydet (Commit)
d034b32f
authored
Mar 08, 2010
tarafından
Florent Xicluna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
On finalize, don't try to join not started process.
üst
faf17538
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
pool.py
Lib/multiprocessing/pool.py
+3
-5
No files found.
Lib/multiprocessing/pool.py
Dosyayı görüntüle @
d034b32f
...
@@ -447,12 +447,10 @@ class Pool(object):
...
@@ -447,12 +447,10 @@ class Pool(object):
if
pool
and
hasattr
(
pool
[
0
],
'terminate'
):
if
pool
and
hasattr
(
pool
[
0
],
'terminate'
):
debug
(
'joining pool workers'
)
debug
(
'joining pool workers'
)
for
p
in
pool
:
for
p
in
pool
:
p
.
join
()
if
p
.
is_alive
():
for
w
in
pool
:
if
w
.
exitcode
is
None
:
# worker has not yet exited
# worker has not yet exited
debug
(
'cleaning up worker
%
s'
%
w
.
pid
)
debug
(
'cleaning up worker
%
d'
%
p
.
pid
)
w
.
join
()
p
.
join
()
#
#
# Class whose instances are returned by `Pool.apply_async()`
# Class whose instances are returned by `Pool.apply_async()`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment