Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libthread.tex @ 10657:d203cb9ece37 legacy-trunk
Nits. Reference to signal module becomes a hyperlink.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Wed, 21 Apr 1999 18:01:14 +0000 |
| parents | aa961a46ae9e |
| children | be3e0d197522 |
line wrap: on
line diff
--- a/Doc/lib/libthread.tex Wed Apr 21 17:57:15 1999 +0000 +++ b/Doc/lib/libthread.tex Wed Apr 21 18:01:14 1999 +0000 @@ -1,7 +1,7 @@ \section{\module{thread} --- - Multiple threads of control.} + Multiple threads of control} + \declaremodule{builtin}{thread} - \modulesynopsis{Create multiple threads of control within one interpreter.} @@ -31,7 +31,7 @@ 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 @@ %\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 @@ \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 \refmodule{signal}\refbimodindex{signal} module is available, interrupts always go to the main thread.) \item
