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
b87a56a5
Kaydet (Commit)
b87a56a5
authored
May 03, 2011
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix typo in name of private function
üst
a5ac2ce9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
process.py
Lib/concurrent/futures/process.py
+2
-2
No files found.
Lib/concurrent/futures/process.py
Dosyayı görüntüle @
b87a56a5
...
@@ -169,7 +169,7 @@ def _add_call_item_to_queue(pending_work_items,
...
@@ -169,7 +169,7 @@ def _add_call_item_to_queue(pending_work_items,
del
pending_work_items
[
work_id
]
del
pending_work_items
[
work_id
]
continue
continue
def
_queue_mana
n
gement_worker
(
executor_reference
,
def
_queue_management_worker
(
executor_reference
,
processes
,
processes
,
pending_work_items
,
pending_work_items
,
work_ids_queue
,
work_ids_queue
,
...
@@ -302,7 +302,7 @@ class ProcessPoolExecutor(_base.Executor):
...
@@ -302,7 +302,7 @@ class ProcessPoolExecutor(_base.Executor):
q
.
put
(
None
)
q
.
put
(
None
)
if
self
.
_queue_management_thread
is
None
:
if
self
.
_queue_management_thread
is
None
:
self
.
_queue_management_thread
=
threading
.
Thread
(
self
.
_queue_management_thread
=
threading
.
Thread
(
target
=
_queue_mana
n
gement_worker
,
target
=
_queue_management_worker
,
args
=
(
weakref
.
ref
(
self
,
weakref_cb
),
args
=
(
weakref
.
ref
(
self
,
weakref_cb
),
self
.
_processes
,
self
.
_processes
,
self
.
_pending_work_items
,
self
.
_pending_work_items
,
...
...
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