[Python-checkins] python/dist/src/Modules threadmodule.c,2.55,2.56
kbk@users.sourceforge.net
kbk@users.sourceforge.net
Mon, 16 Jun 2003 11:51:30 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv5830
Modified Files:
threadmodule.c
Log Message:
Correct function name.
Index: threadmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/threadmodule.c,v
retrieving revision 2.55
retrieving revision 2.56
diff -C2 -d -r2.55 -r2.56
*** threadmodule.c 13 Jun 2003 21:59:45 -0000 2.55
--- threadmodule.c 16 Jun 2003 18:51:28 -0000 2.56
***************
*** 280,284 ****
static PyObject *
! sys_interrupt_main(PyObject * self, PyObject * args)
{
PyErr_SetInterrupt();
--- 280,284 ----
static PyObject *
! thread_PyThread_interrupt_main(PyObject * self)
{
PyErr_SetInterrupt();
***************
*** 291,295 ****
\n\
Raise a KeyboardInterrupt in the main thread.\n\
! A subthread can use this method to interrupt the main thread."
);
--- 291,295 ----
\n\
Raise a KeyboardInterrupt in the main thread.\n\
! A subthread can use this function to interrupt the main thread."
);
***************
*** 356,360 ****
{"exit", (PyCFunction)thread_PyThread_exit_thread,
METH_NOARGS, exit_doc},
! {"interrupt_main", (PyCFunction)sys_interrupt_main,
METH_NOARGS, interrupt_doc},
{"get_ident", (PyCFunction)thread_get_ident,
--- 356,360 ----
{"exit", (PyCFunction)thread_PyThread_exit_thread,
METH_NOARGS, exit_doc},
! {"interrupt_main", (PyCFunction)thread_PyThread_interrupt_main,
METH_NOARGS, interrupt_doc},
{"get_ident", (PyCFunction)thread_get_ident,