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
fb4dc080
Kaydet (Commit)
fb4dc080
authored
Eki 07, 2012
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge: starmap/starmap_async for whatsnew, and fix multiprocessing Pool markup.
üst
7ecc5ba7
ace51622
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
multiprocessing.rst
Doc/library/multiprocessing.rst
+2
-2
3.3.rst
Doc/whatsnew/3.3.rst
+7
-0
No files found.
Doc/library/multiprocessing.rst
Dosyayı görüntüle @
fb4dc080
...
...
@@ -29,7 +29,7 @@ Windows.
Functionality within this package requires that the ``__main__`` module be
importable by the children. This is covered in :ref:`multiprocessing-programming`
however it is worth pointing out here. This means that some examples, such
as the :class:`multiprocessing.Pool` examples will not work in the
as the :class:`multiprocessing.
pool.
Pool` examples will not work in the
interactive interpreter. For example::
>>> from multiprocessing import Pool
...
...
@@ -1638,7 +1638,7 @@ Process Pools
One
can
create
a
pool
of
processes
which
will
carry
out
tasks
submitted
to
it
with
the
:
class
:`
Pool
`
class
.
..
class
::
multiprocessing
.
Pool
([
processes
[,
initializer
[,
initargs
[,
maxtasksperchild
]]]])
..
class
::
Pool
([
processes
[,
initializer
[,
initargs
[,
maxtasksperchild
]]]])
A
process
pool
object
which
controls
a
pool
of
worker
processes
to
which
jobs
can
be
submitted
.
It
supports
asynchronous
results
with
timeouts
and
...
...
Doc/whatsnew/3.3.rst
Dosyayı görüntüle @
fb4dc080
...
...
@@ -1537,6 +1537,13 @@ program to wait on multiple :class:`~multiprocessing.Process` objects at one
time using the appropriate OS primitives (for example, :mod:`select` on
posix systems).
New methods :meth:`multiprocessing.pool.Pool.starmap` and
:meth:`~multiprocessing.pool.Pool.starmap_async` provide
:func:`itertools.starmap` equivalents to the existing
:meth:`multiprocessing.pool.Pool.map` and
:meth:`~multiprocessing.pool.Pool.map_async` functions. (Contributed by Hynek
Schlawack in :issue:`12708`.)
nntplib
-------
...
...
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