Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b2123698
Commit
b2123698
authored
May 12, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Bill Janssen's notes on configuring threads.
parent
95aed9da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
0 deletions
+56
-0
README
README
+56
-0
No files found.
README
View file @
b2123698
...
...
@@ -304,6 +304,62 @@ OS/2: If you are running Warp3 or Warp4 and have IBM's VisualAge C/C++
in the resulting binaries of PYTHON15.DLL and PYTHON.EXE.
Configuring threads
-------------------
The main switch to configure threads is to run the configure script
(see below) with the --with-thread switch (on DEC, use
--with-dec-threads). Unfortunately, on some platforms, additional
compiler and/or linker options are required. Below is a table of
those options, collected by Bill Janssen. I would love to automate
this process more, but the information below is not enough to write a
patch for the configure.in file, so manual intervention is required.
If you patch the configure.in file and are confident that the patch
works, please send me the patch. (Don't bother patching the configure
script itself -- it is regenerated each the configure.in file
changes.)
Compiler switches for threads
.............................
OS/Compiler/threads Switches for use with threads
(POSIX is draft 10, DCE is draft 4) (1) compile only (2) compile & link
SunOS 5.{1-5}/{gcc,SunPro cc}/solaris (1) -D_REENTRANT (2) -mt
SunOS 5.5/{gcc,SunPro cc}/POSIX (1) -D_REENTRANT
DEC OSF/1 3.x/cc/DCE (1) -D_REENTRANT (2) -threads
(butenhof@zko.dec.com)
Digital UNIX 4.x/cc/DCE (1) -D_REENTRANT (2) -threads
(butenhof@zko.dec.com)
Digital UNIX 4.x/cc/POSIX (1) -D_REENTRANT (2) -pthread
(butenhof@zko.dec.com)
AIX 4.1.4/cc_r/d7 (nothing)
(buhrt@iquest.net)
AIX 4.1.4/cc_r4/DCE (nothing)
(buhrt@iquest.net)
IRIX 6.2/cc/POSIX (nothing)
(robertl@cwi.nl)
Linker (ld) libraries and flags for threads
...........................................
OS/threads Libraries/switches for use with threads
SunOS 5.{1-5}/solaris -lthread
SunOS 5.5/POSIX -lpthread
DEC OSF/1 3.x/DCE -lpthreads -lmach -lc_r -lc
(butenhof@zko.dec.com)
Digital UNIX 4.x/DCE -lpthreads -lpthread -lmach -lexc -lc
(butenhof@zko.dec.com)
Digital UNIX 4.x/POSIX -lpthread -lmach -lexc -lc
(butenhof@zko.dec.com)
AIX 4.1.4/{draft7,DCE} (nothing)
(buhrt@iquest.net)
IRIX 6.2/POSIX -lpthread
(jph@emilia.engr.sgi.com)
Configuring additional built-in modules
---------------------------------------
...
...
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