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
828946e5
Kaydet (Commit)
828946e5
authored
May 07, 2015
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix copy/paste errors.
Basically, s/thread/coroutine/.
üst
4b5367c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
asyncio-sync.rst
Doc/library/asyncio-sync.rst
+4
-4
No files found.
Doc/library/asyncio-sync.rst
Dosyayı görüntüle @
828946e5
...
@@ -196,9 +196,9 @@ Condition
...
@@ -196,9 +196,9 @@ Condition
.. method:: notify_all()
.. method:: notify_all()
Wake up all
thread
s waiting on this condition. This method acts like
Wake up all
coroutine
s waiting on this condition. This method acts like
:meth:`notify`, but wakes up all waiting
thread
s instead of one. If the
:meth:`notify`, but wakes up all waiting
coroutine
s instead of one. If the
calling
thread
has not acquired the lock when this method is called, a
calling
coroutine
has not acquired the lock when this method is called, a
:exc:`RuntimeError` is raised.
:exc:`RuntimeError` is raised.
.. method:: release()
.. method:: release()
...
@@ -250,7 +250,7 @@ Semaphore
...
@@ -250,7 +250,7 @@ Semaphore
A semaphore manages an internal counter which is decremented by each
A semaphore manages an internal counter which is decremented by each
:meth:`acquire` call and incremented by each :meth:`release` call. The
:meth:`acquire` call and incremented by each :meth:`release` call. The
counter can never go below zero; when :meth:`acquire` finds that it is zero,
counter can never go below zero; when :meth:`acquire` finds that it is zero,
it blocks, waiting until some other
thread
calls :meth:`release`.
it blocks, waiting until some other
coroutine
calls :meth:`release`.
Semaphores also support the context management protocol.
Semaphores also support the context management protocol.
...
...
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