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
31368a4f
Unverified
Kaydet (Commit)
31368a4f
authored
Eki 30, 2018
tarafından
Victor Stinner
Kaydeden (comit)
GitHub
Eki 30, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-35081: Move Include/pyatomic.c to Include/internal/ (GH-10239)
Add pyatomic.h to the VS project (it wasn't referenced).
üst
9204fb86
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
23 additions
and
10 deletions
+23
-10
Python.h
Include/Python.h
+0
-2
ceval.h
Include/internal/ceval.h
+1
-1
gil.h
Include/internal/gil.h
+3
-3
pyatomic.h
Include/internal/pyatomic.h
+11
-2
pystate.h
Include/internal/pystate.h
+0
-1
Makefile.pre.in
Makefile.pre.in
+1
-1
signalmodule.c
Modules/signalmodule.c
+2
-0
pythoncore.vcxproj
PCbuild/pythoncore.vcxproj
+1
-0
pythoncore.vcxproj.filters
PCbuild/pythoncore.vcxproj.filters
+3
-0
ceval_gil.h
Python/ceval_gil.h
+1
-0
No files found.
Include/Python.h
Dosyayı görüntüle @
31368a4f
...
...
@@ -53,8 +53,6 @@
#include "pyport.h"
#include "pymacro.h"
#include "pyatomic.h"
/* Debug-mode build with pymalloc implies PYMALLOC_DEBUG.
* PYMALLOC_DEBUG is in error if pymalloc is not in use.
*/
...
...
Include/internal/ceval.h
Dosyayı görüntüle @
31368a4f
...
...
@@ -4,7 +4,7 @@
extern
"C"
{
#endif
#include "pyatomic.h"
#include "
internal/
pyatomic.h"
#include "pythread.h"
struct
_pending_calls
{
...
...
Include/internal/gil.h
Dosyayı görüntüle @
31368a4f
...
...
@@ -4,11 +4,11 @@
extern
"C"
{
#endif
#include "pyatomic.h"
#include "internal/condvar.h"
#include "internal/pyatomic.h"
#ifndef Py_HAVE_CONDVAR
#error You need either a POSIX-compatible or a Windows system!
#
error You need either a POSIX-compatible or a Windows system!
#endif
/* Enable if you want to force the switching of threads at least
...
...
Include/pyatomic.h
→
Include/
internal/
pyatomic.h
Dosyayı görüntüle @
31368a4f
#ifndef Py_ATOMIC_H
#define Py_ATOMIC_H
#ifdef Py_BUILD_CORE
#ifdef __cplusplus
extern
"C"
{
#endif
#ifndef Py_BUILD_CORE
# error "Py_BUILD_CORE must be defined to include this header"
#endif
#include "dynamic_annotations.h"
...
...
@@ -531,5 +537,8 @@ typedef struct _Py_atomic_int {
_Py_atomic_store_explicit(ATOMIC_VAL, NEW_VAL, _Py_memory_order_relaxed)
#define _Py_atomic_load_relaxed(ATOMIC_VAL) \
_Py_atomic_load_explicit(ATOMIC_VAL, _Py_memory_order_relaxed)
#endif
/* Py_BUILD_CORE */
#ifdef __cplusplus
}
#endif
#endif
/* Py_ATOMIC_H */
Include/internal/pystate.h
Dosyayı görüntüle @
31368a4f
...
...
@@ -5,7 +5,6 @@ extern "C" {
#endif
#include "pystate.h"
#include "pyatomic.h"
#include "pythread.h"
#include "internal/mem.h"
...
...
Makefile.pre.in
Dosyayı görüntüle @
31368a4f
...
...
@@ -988,7 +988,6 @@ PYTHON_HEADERS= \
$(srcdir)
/Include/pgen.h
\
$(srcdir)
/Include/pgenheaders.h
\
$(srcdir)
/Include/pyarena.h
\
$(srcdir)
/Include/pyatomic.h
\
$(srcdir)
/Include/pycapsule.h
\
$(srcdir)
/Include/pyctype.h
\
$(srcdir)
/Include/pydebug.h
\
...
...
@@ -1029,6 +1028,7 @@ PYTHON_HEADERS= \
$(srcdir)
/Include/internal/ceval.h
\
$(srcdir)
/Include/internal/gil.h
\
$(srcdir)
/Include/internal/mem.h
\
$(srcdir)
/Include/internal/pyatomic.h
\
$(srcdir)
/Include/internal/pygetopt.h
\
$(srcdir)
/Include/internal/pystate.h
\
$(srcdir)
/Include/internal/context.h
\
...
...
Modules/signalmodule.c
Dosyayı görüntüle @
31368a4f
...
...
@@ -4,6 +4,8 @@
/* XXX Signals should be recorded per thread, now we have thread state. */
#include "Python.h"
#include "internal/pyatomic.h"
#ifndef MS_WINDOWS
#include "posixmodule.h"
#endif
...
...
PCbuild/pythoncore.vcxproj
Dosyayı görüntüle @
31368a4f
...
...
@@ -118,6 +118,7 @@
<ClInclude
Include=
"..\Include\internal\gil.h"
/>
<ClInclude
Include=
"..\Include\internal\hamt.h"
/>
<ClInclude
Include=
"..\Include\internal\mem.h"
/>
<ClInclude
Include=
"..\Include\internal\pyatomic.h"
/>
<ClInclude
Include=
"..\Include\internal\pystate.h"
/>
<ClInclude
Include=
"..\Include\internal\warnings.h"
/>
<ClInclude
Include=
"..\Include\intrcheck.h"
/>
...
...
PCbuild/pythoncore.vcxproj.filters
Dosyayı görüntüle @
31368a4f
...
...
@@ -153,6 +153,9 @@
<ClInclude
Include=
"..\Include\internal\mem.h"
>
<Filter>
Include
</Filter>
</ClInclude>
<ClInclude
Include=
"..\Include\internal\pyatomic.h"
>
<Filter>
Include
</Filter>
</ClInclude>
<ClInclude
Include=
"..\Include\internal\pystate.h"
>
<Filter>
Include
</Filter>
</ClInclude>
...
...
Python/ceval_gil.h
Dosyayı görüntüle @
31368a4f
...
...
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <errno.h>
#include "internal/pyatomic.h"
/* First some general settings */
...
...
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