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
4d474bec
Kaydet (Commit)
4d474bec
authored
Ock 17, 2004
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove DGUX support.
üst
b9820a3b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
37 deletions
+5
-37
thread.c
Python/thread.c
+0
-4
thread_pthread.h
Python/thread_pthread.h
+2
-10
configure
configure
+2
-12
configure.in
configure.in
+1
-11
No files found.
Python/thread.c
Dosyayı görüntüle @
4d474bec
...
...
@@ -19,10 +19,6 @@ extern char *getenv(const char *);
#endif
#endif
#ifdef __DGUX
#define _USING_POSIX4A_DRAFT6
#endif
#ifdef __sgi
#ifndef HAVE_PTHREAD_H
/* XXX Need to check in configure.in */
#undef _POSIX_THREADS
...
...
Python/thread_pthread.h
Dosyayı görüntüle @
4d474bec
...
...
@@ -55,10 +55,6 @@
# error Systems with PY_PTHREAD_D7 are unsupported. See README.
# endif
#elif defined(__DGUX)
# define PY_PTHREAD_D6
# error Systems with PY_PTHREAD_D6 are unsupported. See README.
#elif defined(__hpux) && defined(_DECTHREADS_)
# define PY_PTHREAD_D4
# error Systems with PY_PTHREAD_D4 are unsupported. See README.
...
...
@@ -80,7 +76,7 @@
#if !defined(pthread_condattr_default)
# define pthread_condattr_default pthread_condattr_default
#endif
#elif defined(PY_PTHREAD_STD)
|| defined(PY_PTHREAD_D6)
#elif defined(PY_PTHREAD_STD)
#if !defined(pthread_attr_default)
# define pthread_attr_default ((pthread_attr_t *)NULL)
#endif
...
...
@@ -211,10 +207,6 @@ PyThread_start_new_thread(void (*func)(void *), void *arg)
pthread_attr_default
,
(
pthread_startroutine_t
)
func
,
(
pthread_addr_t
)
arg
#elif defined(PY_PTHREAD_D6)
pthread_attr_default
,
(
void
*
(
*
)(
void
*
))
func
,
arg
#elif defined(PY_PTHREAD_D7)
pthread_attr_default
,
func
,
...
...
@@ -239,7 +231,7 @@ PyThread_start_new_thread(void (*func)(void *), void *arg)
if
(
status
!=
0
)
return
-
1
;
#if defined(PY_PTHREAD_D4) || defined(PY_PTHREAD_D
6) || defined(PY_PTHREAD_D
7)
#if defined(PY_PTHREAD_D4) || defined(PY_PTHREAD_D7)
pthread_detach
(
&
th
);
#elif defined(PY_PTHREAD_STD)
pthread_detach
(
th
);
...
...
configure
Dosyayı görüntüle @
4d474bec
#! /bin/sh
# From configure.in Revision: 1.44
2
.
# From configure.in Revision: 1.44
3
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for python 2.4.
#
...
...
@@ -3010,7 +3010,7 @@ rm -f conftest*
# Check for unsupported systems
case
$ac_sys_system
/
$ac_sys_release
in
SunOS/4*|DYNIX/*|
dgux*/*|
IRIX/4*|Linux*/1*)
SunOS/4
*
|
DYNIX/
*
|
IRIX/4
*
|
Linux
*
/1
*
)
echo
This system
\(
$ac_sys_system
/
$ac_sys_release
\)
is no longer supported.
echo
See README
for
details.
exit
1
;;
...
...
@@ -3150,8 +3150,6 @@ then
exp_extra
=
"."
fi
LINKCC
=
"
\$
(srcdir)/Modules/makexp_aix Modules/python.exp
$exp_extra
\$
(LIBRARY);
$LINKCC
"
;;
dgux*)
LINKCC="LD_RUN_PATH=$libdir $LINKCC";;
Monterey64
*
)
LINKCC
=
"
$LINKCC
-L/usr/lib/ia64l64"
;;
esac
...
...
@@ -3241,13 +3239,6 @@ _ACEOF
RUNSHARED
=
DLL_PATH
=
`
pwd
`
:
${
DLL_PATH
:-
/atheos/sys/libs
:/atheos/autolnk/lib
}
;;
esac
# DG/UX requires some fancy ld contortions to produce a .so from an .a
case $MACHDEP in
dguxR4)
LDLIBRARY='libpython$(VERSION).so'
BASECFLAGS="$BASECFLAGS -pic"
;;
esac
else
# shared is disabled
case
$ac_sys_system
in
CYGWIN
*
)
...
...
@@ -9422,7 +9413,6 @@ then
LDSHARED
=
"
$LDSHARED
"
'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
fi
;;
Linux
*
|
GNU
*
)
LDSHARED
=
'$(CC) -shared'
;;
dgux*) LDSHARED="ld -G";;
BSD/OS
*
/4
*
)
LDSHARED
=
"gcc -shared"
;;
OpenBSD
*
|
FreeBSD
*
)
if
[
"
`
$CC
-dM
-E
- </dev/null |
grep
__ELF__
`
"
!=
""
]
...
...
configure.in
Dosyayı görüntüle @
4d474bec
...
...
@@ -332,7 +332,7 @@ AC_AIX
# Check for unsupported systems
case $ac_sys_system/$ac_sys_release in
SunOS/4*|DYNIX/*|
dgux*/*|
IRIX/4*|Linux*/1*)
SunOS/4*|DYNIX/*|IRIX/4*|Linux*/1*)
echo This system \($ac_sys_system/$ac_sys_release\) is no longer supported.
echo See README for details.
exit 1;;
...
...
@@ -457,8 +457,6 @@ then
exp_extra="."
fi
LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp $exp_extra \$(LIBRARY); $LINKCC";;
dgux*)
LINKCC="LD_RUN_PATH=$libdir $LINKCC";;
Monterey64*)
LINKCC="$LINKCC -L/usr/lib/ia64l64";;
esac
...
...
@@ -537,13 +535,6 @@ if test $enable_shared = "yes"; then
RUNSHARED=DLL_PATH=`pwd`:${DLL_PATH:-/atheos/sys/libs:/atheos/autolnk/lib}
;;
esac
# DG/UX requires some fancy ld contortions to produce a .so from an .a
case $MACHDEP in
dguxR4)
LDLIBRARY='libpython$(VERSION).so'
BASECFLAGS="$BASECFLAGS -pic"
;;
esac
else # shared is disabled
case $ac_sys_system in
CYGWIN*)
...
...
@@ -1278,7 +1269,6 @@ then
LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
fi ;;
Linux*|GNU*) LDSHARED='$(CC) -shared';;
dgux*) LDSHARED="ld -G";;
BSD/OS*/4*) LDSHARED="gcc -shared";;
OpenBSD*|FreeBSD*)
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
...
...
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