From 0b1782f7c016e6aea53d05e6c61ce8c66852175d Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Tue, 8 Jul 2003 17:07:20 +0000 Subject: Document interrupt_main() Remove obsolete reference to deprecated exit_thread() function --- Doc/lib/libthread.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Doc/lib/libthread.tex b/Doc/lib/libthread.tex index 87aa3ea..d2a34a1 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. -- cgit v0.12