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
872dc5c4
Kaydet (Commit)
872dc5c4
authored
Tem 17, 2004
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Minor edits
üst
db5860b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libthreading.tex
Doc/lib/libthreading.tex
+4
-4
No files found.
Doc/lib/libthreading.tex
Dosyayı görüntüle @
872dc5c4
...
...
@@ -51,19 +51,19 @@ method blocks until the flag is true.
\begin{classdesc*}
{
local
}{}
A class that represents thread-local data. Thread-local data are data
who
's
values are thread specific. To manage thread-local data, just
who
se
values are thread specific. To manage thread-local data, just
create an instance of
\class
{
local
}
(or a subclass) and store
attributes on it:
\begin{verbatim}
>>>
mydata = threading.local()
>>>
mydata.x = 1
mydata = threading.local()
mydata.x = 1
\end{verbatim}
The instance's values will be different for separate threads.
For more details and extensive examples, see the documentation string
of the
_
threading
_
local
module.
of the
\module
{_
threading
_
local
}
module.
\versionadded
{
2.4
}
\end{classdesc*}
...
...
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