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
4c43bd18
Commit
4c43bd18
authored
Apr 21, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nits. Reference to signal module becomes a hyperlink.
parent
49c2ecef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Doc/lib/libthread.tex
Doc/lib/libthread.tex
+5
-5
No files found.
Doc/lib/libthread.tex
View file @
4c43bd18
\section
{
\module
{
thread
}
---
Multiple threads of control.
}
\declaremodule
{
builtin
}{
thread
}
Multiple threads of control
}
\declaremodule
{
builtin
}{
thread
}
\modulesynopsis
{
Create multiple threads of control within one interpreter.
}
...
...
@@ -31,7 +31,7 @@ Raised on thread-specific errors.
This is the type of lock objects.
\end{datadesc}
\begin{funcdesc}
{
start
_
new
_
thread
}{
function, args
\optional
{
kwargs
}}
\begin{funcdesc}
{
start
_
new
_
thread
}{
function, args
\optional
{
,
kwargs
}}
Start a new thread. The thread executes the function
\var
{
function
}
with the argument list
\var
{
args
}
(which must be a tuple). The
optional
\var
{
kwargs
}
argument specifies a dictionary of keyword
...
...
@@ -54,7 +54,7 @@ This is an obsolete synonym for \function{exit()}.
%\begin{funcdesc}{exit_prog}{status}
%Exit all threads and report the value of the integer argument
%\var{status} as the exit status of the entire program.
%\strong{Caveat:} code in pending \
code
{finally} clauses, in this thread
%\strong{Caveat:} code in pending \
keyword
{finally} clauses, in this thread
%or in other threads, is not executed.
%\end{funcdesc}
...
...
@@ -103,7 +103,7 @@ some thread, \code{0} if not.
\item
Threads interact strangely with interrupts: the
\exception
{
KeyboardInterrupt
}
exception will be received by an
arbitrary thread. (When the
\module
{
signal
}
\refbimodindex
{
signal
}
arbitrary thread. (When the
\
ref
module
{
signal
}
\refbimodindex
{
signal
}
module is available, interrupts always go to the main thread.)
\item
...
...
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