From: Kurt B. Kaiser Date: Tue, 8 Jul 2003 17:07:20 +0000 (+0000) Subject: Document interrupt_main() X-Git-Tag: v2.3c1~151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b1782f7c016e6aea53d05e6c61ce8c66852175d;p=thirdparty%2FPython%2Fcpython.git Document interrupt_main() Remove obsolete reference to deprecated exit_thread() function --- diff --git a/Doc/lib/libthread.tex b/Doc/lib/libthread.tex index 87aa3ea83f3f..d2a34a1856ac 100644 --- a/Doc/lib/libthread.tex +++ b/Doc/lib/libthread.tex @@ -43,16 +43,16 @@ terminates with an unhandled exception, a stack trace is printed and 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.