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
eef05965
Kaydet (Commit)
eef05965
authored
Eyl 29, 2018
tarafından
Zackery Spytz
Kaydeden (comit)
Brian Curtin
Eyl 29, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-31370: Remove references to threadless builds (#8805)
Support for threadless builds was removed in
a6a4dc81
.
üst
508d8205
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
19 deletions
+10
-19
init.rst
Doc/c-api/init.rst
+8
-8
queue.rst
Doc/library/queue.rst
+1
-3
_test_multiprocessing.py
Lib/test/_test_multiprocessing.py
+0
-3
ceval.c
Python/ceval.c
+1
-5
No files found.
Doc/c-api/init.rst
Dosyayı görüntüle @
eef05965
...
@@ -842,18 +842,18 @@ code, or when embedding the Python interpreter:
...
@@ -842,18 +842,18 @@ code, or when embedding the Python interpreter:
.. c:function:: PyThreadState* PyEval_SaveThread()
.. c:function:: PyThreadState* PyEval_SaveThread()
Release the global interpreter lock (if it has been created
and thread
Release the global interpreter lock (if it has been created
) and reset the
support is enabled) and reset the thread state to *NULL*, returning the
thread state to *NULL*, returning the previous thread state (which is not
previous thread state (which is not *NULL*). If the lock has been created,
*NULL*). If the lock has been created, the current thread must have
the current thread must have
acquired it.
acquired it.
.. c:function:: void PyEval_RestoreThread(PyThreadState *tstate)
.. c:function:: void PyEval_RestoreThread(PyThreadState *tstate)
Acquire the global interpreter lock (if it has been created
and thread
Acquire the global interpreter lock (if it has been created
) and set the
support is enabled) and set the thread state to *tstate*, which must not be
thread state to *tstate*, which must not be *NULL*. If the lock has been
*NULL*. If the lock has been created, the current thread must not have
created, the current thread must not have acquired it, otherwise deadlock
acquired it, otherwise deadlock
ensues.
ensues.
.. c:function:: PyThreadState* PyThreadState_Get()
.. c:function:: PyThreadState* PyThreadState_Get()
...
...
Doc/library/queue.rst
Dosyayı görüntüle @
eef05965
...
@@ -11,9 +11,7 @@
...
@@ -11,9 +11,7 @@
The :mod:`queue` module implements multi-producer, multi-consumer queues.
The :mod:`queue` module implements multi-producer, multi-consumer queues.
It is especially useful in threaded programming when information must be
It is especially useful in threaded programming when information must be
exchanged safely between multiple threads. The :class:`Queue` class in this
exchanged safely between multiple threads. The :class:`Queue` class in this
module implements all the required locking semantics. It depends on the
module implements all the required locking semantics.
availability of thread support in Python; see the :mod:`threading`
module.
The module implements three types of queue, which differ only in the order in
The module implements three types of queue, which differ only in the order in
which the entries are retrieved. In a :abbr:`FIFO (first-in, first-out)`
which the entries are retrieved. In a :abbr:`FIFO (first-in, first-out)`
...
...
Lib/test/_test_multiprocessing.py
Dosyayı görüntüle @
eef05965
...
@@ -30,9 +30,6 @@ from test import support
...
@@ -30,9 +30,6 @@ from test import support
_multiprocessing
=
test
.
support
.
import_module
(
'_multiprocessing'
)
_multiprocessing
=
test
.
support
.
import_module
(
'_multiprocessing'
)
# Skip tests if sem_open implementation is broken.
# Skip tests if sem_open implementation is broken.
test
.
support
.
import_module
(
'multiprocessing.synchronize'
)
test
.
support
.
import_module
(
'multiprocessing.synchronize'
)
# import threading after _multiprocessing to raise a more relevant error
# message: "No module named _multiprocessing". _multiprocessing is not compiled
# without thread support.
import
threading
import
threading
import
multiprocessing.connection
import
multiprocessing.connection
...
...
Python/ceval.c
Dosyayı görüntüle @
eef05965
...
@@ -237,7 +237,7 @@ PyEval_ReInitThreads(void)
...
@@ -237,7 +237,7 @@ PyEval_ReInitThreads(void)
}
}
/* This function is used to signal that async exceptions are waiting to be
/* This function is used to signal that async exceptions are waiting to be
raised
, therefore it is also useful in non-threaded builds
. */
raised. */
void
void
_PyEval_SignalAsyncExc
(
void
)
_PyEval_SignalAsyncExc
(
void
)
...
@@ -245,10 +245,6 @@ _PyEval_SignalAsyncExc(void)
...
@@ -245,10 +245,6 @@ _PyEval_SignalAsyncExc(void)
SIGNAL_ASYNC_EXC
();
SIGNAL_ASYNC_EXC
();
}
}
/* Functions save_thread and restore_thread are always defined so
dynamically loaded modules needn't be compiled separately for use
with and without threads: */
PyThreadState
*
PyThreadState
*
PyEval_SaveThread
(
void
)
PyEval_SaveThread
(
void
)
{
{
...
...
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