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
a7a76d3d
Kaydet (Commit)
a7a76d3d
authored
Eki 04, 2002
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2.
üst
3d61a06a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
3 deletions
+25
-3
thread_pthread.h
Python/thread_pthread.h
+2
-2
configure
configure
+12
-1
configure.in
configure.in
+8
-0
pyconfig.h.in
pyconfig.h.in
+3
-0
No files found.
Python/thread_pthread.h
Dosyayı görüntüle @
a7a76d3d
...
...
@@ -3,11 +3,11 @@
#include <stdlib.h>
#include <string.h>
#if
def __APPLE__
#if
defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR)
#define destructor xxdestructor
#endif
#include <pthread.h>
#if
def __APPLE__
#if
defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR)
#undef destructor
#endif
#include <signal.h>
...
...
configure
Dosyayı görüntüle @
a7a76d3d
#! /bin/sh
# From configure.in Revision: 1.34
8
.
# From configure.in Revision: 1.34
9
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
...
...
@@ -10885,6 +10885,17 @@ fi
OSF1
)
LDLAST
=
-threads
;;
esac
fi
if
test
"
$posix_threads
"
=
yes
-a
\
"
$ac_sys_system
"
=
"SunOS"
-a
\
"
$ac_sys_release
"
=
"5.6"
;
then
cat
>>
confdefs.h
<<
\
_ACEOF
#define HAVE_PTHREAD_DESTRUCTOR 1
_ACEOF
fi
fi
# Check for enable-ipv6
...
...
configure.in
Dosyayı görüntüle @
a7a76d3d
...
...
@@ -1326,6 +1326,14 @@ pthread_create (NULL, NULL, start_routine, NULL)], [
OSF1) LDLAST=-threads;;
esac
fi
if test "$posix_threads" = yes -a \
"$ac_sys_system" = "SunOS" -a \
"$ac_sys_release" = "5.6"; then
AC_DEFINE(HAVE_PTHREAD_DESTRUCTOR, 1,
[Defined for Solaris 2.6 bug in pthread header.])
fi
fi
# Check for enable-ipv6
...
...
pyconfig.h.in
Dosyayı görüntüle @
a7a76d3d
...
...
@@ -304,6 +304,9 @@
/* Define if you have GNU PTH threads. */
#undef HAVE_PTH
/* Defined for Solaris 2.6 bug in pthread header. */
#undef HAVE_PTHREAD_DESTRUCTOR
/* Define to 1 if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
...
...
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