Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b1782f

Browse files
committed
Document interrupt_main()
Remove obsolete reference to deprecated exit_thread() function
1 parent dd3afa7 commit 0b1782f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/lib/libthread.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ \section{\module{thread} ---
4343
then the thread exits (but other threads continue to run).
4444
\end{funcdesc}
4545

46+
\begin{funcdesc}{interrupt_main}{}
47+
Raise a KeyboardInterrupt in the main thread. A subthread can use this
48+
function to to interrupt the main thread.
49+
\end{funcdesc}
50+
4651
\begin{funcdesc}{exit}{}
4752
Raise the \exception{SystemExit} exception. When not caught, this
4853
will cause the thread to exit silently.
4954
\end{funcdesc}
5055

51-
\begin{funcdesc}{exit_thread}{}
52-
\deprecated{1.5.2}{Use \function{exit()}.}
53-
This is an obsolete synonym for \function{exit()}.
54-
\end{funcdesc}
55-
5656
%\begin{funcdesc}{exit_prog}{status}
5757
%Exit all threads and report the value of the integer argument
5858
%\var{status} as the exit status of the entire program.

0 commit comments

Comments
 (0)