[Python-checkins] python/dist/src/Doc/lib libthread.tex,1.28,1.29

kbk@users.sourceforge.net kbk@users.sourceforge.net
Tue, 08 Jul 2003 10:07:22 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv13640

Modified Files:
	libthread.tex 
Log Message:
Document interrupt_main()

Remove obsolete reference to deprecated exit_thread() function


Index: libthread.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libthread.tex,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** libthread.tex	30 Dec 2002 23:00:35 -0000	1.28
--- libthread.tex	8 Jul 2003 17:07:20 -0000	1.29
***************
*** 44,55 ****
  \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}
  
--- 44,55 ----
  \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}