diff options
-rw-r--r-- | Doc/lib/libthread.tex | 10 |
1 files 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. |