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
7280561b
Kaydet (Commit)
7280561b
authored
Eki 03, 2014
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix a few typo/grammar issues in the multiprocessing docs.
Reported by Scott Hinton on docs@.
üst
32562d7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
multiprocessing.rst
Doc/library/multiprocessing.rst
+3
-3
No files found.
Doc/library/multiprocessing.rst
Dosyayı görüntüle @
7280561b
...
@@ -842,7 +842,7 @@ Miscellaneous
...
@@ -842,7 +842,7 @@ Miscellaneous
Return
list
of
all
live
children
of
the
current
process
.
Return
list
of
all
live
children
of
the
current
process
.
Calling
this
has
the
side
a
ffect
of
"joining"
any
processes
which
have
Calling
this
has
the
side
e
ffect
of
"joining"
any
processes
which
have
already
finished
.
already
finished
.
..
function
::
cpu_count
()
..
function
::
cpu_count
()
...
@@ -2464,7 +2464,7 @@ Joining processes that use queues
...
@@ -2464,7 +2464,7 @@ Joining processes that use queues
items which have been put on the queue will eventually be removed before the
items which have been put on the queue will eventually be removed before the
process is joined. Otherwise you cannot be sure that processes which have
process is joined. Otherwise you cannot be sure that processes which have
put items on the queue will terminate. Remember also that non-daemonic
put items on the queue will terminate. Remember also that non-daemonic
processes will be
automatically be joined
.
processes will be
joined automatically
.
An example which will deadlock is the following::
An example which will deadlock is the following::
...
@@ -2480,7 +2480,7 @@ Joining processes that use queues
...
@@ -2480,7 +2480,7 @@ Joining processes that use queues
p.join() # this deadlocks
p.join() # this deadlocks
obj = queue.get()
obj = queue.get()
A fix here would be to swap the last two lines
round
(or simply remove the
A fix here would be to swap the last two lines (or simply remove the
``p.join()`` line).
``p.join()`` line).
Explicitly pass resources to child processes
Explicitly pass resources to child processes
...
...
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