Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libthread.tex @ 29784:4fc56cae4eb8 legacy-trunk
Document interrupt_main()
Remove obsolete reference to deprecated exit_thread() function
| author | Kurt B. Kaiser <kbk@shore.net> |
|---|---|
| date | Tue, 08 Jul 2003 17:07:20 +0000 |
| parents | 3bc2af41c016 |
| children | e6a78dd425c8 |
line wrap: on
line diff
--- a/Doc/lib/libthread.tex Tue Jul 08 16:26:34 2003 +0000 +++ b/Doc/lib/libthread.tex Tue Jul 08 17:07:20 2003 +0000 @@ -43,16 +43,16 @@ then the thread exits (but other threads continue to run). \end{funcdesc} +\begin{funcdesc}{interrupt_main}{} +Raise a KeyboardInterrupt in the main thread. A subthread can use this +function to to interrupt the main thread. +\end{funcdesc} + \begin{funcdesc}{exit}{} Raise the \exception{SystemExit} exception. When not caught, this will cause the thread to exit silently. \end{funcdesc} -\begin{funcdesc}{exit_thread}{} -\deprecated{1.5.2}{Use \function{exit()}.} -This is an obsolete synonym for \function{exit()}. -\end{funcdesc} - %\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.
