Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2000 12:00:06 +1000 (EST)
From:      Gregory Bond <gnb@itga.com.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19571: python/Tkinter busy-waits
Message-ID:  <200006290200.MAA03614@hellcat.itga.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         19571
>Category:       ports
>Synopsis:       python/TKinter busy waits
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 28 19:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Gregory Bond
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
ITG Australia Limited
>Environment:

4.0-Stable
Python 1.5.2 installed from the package on the 4.0 CD
Tkinter

>Description:

The attached simple Tkinter script busy-waits on FreeBSD.  The same script does
not busy-wait on Solaris. 

>How-To-Repeat:

Save the following script to a file t.py
Run "python t.py & p=$! && sleep 2 && truss -p $p"
watch the output!

[Why not just "truss python t.py"??  Dunno, truss gets confused somehow.]

Run the same script on Solaris and see it do the right thing with poll()

The equivalent wish script (which is /dev/null) also doesn't
busy-wait on either Solaris or FreeBSD.

-----
#! /usr/local/bin/python

from Tkinter import *

root = Tk()

root.mainloop()
-----
>Fix:

Not known.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006290200.MAA03614>