[Python-bugs-list] [ python-Bugs-704641 ] _tkinter.c won't build w/o threads?

SourceForge.net noreply@sourceforge.net
Sun, 16 Mar 2003 12:57:12 -0800


Bugs item #704641, was opened at 2003-03-16 15:57
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=704641&group_id=5470

Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: John Speno (corvus)
Assigned to: Nobody/Anonymous (nobody)
Summary: _tkinter.c won't build w/o threads?

Initial Comment:
I'm out of my area of expertice here trying to build python on Windows using cygwin and trying to use Tcl/Tk 8.4.2, but...

Anyway, it looks like I can't compile _tkinter.c unless I've configured python to use threads and I didn't because the main python README says not to with cygwin.

For example, tcl_lock is used in many places in _tkinter.c but it is only defined when WITH_THREAD is defined.

And there's no Sleep() function when WITH_THREADS is off, and that's used in WaitForMainLoop().

And in Tkapp_New() there's a call to PyThread_free_lock() that isn't inside an #ifdef WITH_THREAD block.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=704641&group_id=5470