From: Hidetoshi NAGAI Date: 2003-06-10T10:19:08+09:00 Subject: Re: Ruby/Tk 100% CPU problem maybe fixed Thank you for your report. From: daniel Subject: Re: Ruby/Tk 100% CPU problem maybe fixed Date: Tue, 10 Jun 2003 06:21:45 +0900 Message-ID: <3ee4f4c4$0$22264$91cee783@newsreader02.highway.telekom.at> > under win32 there is also a thread with > priority "highest" - really ugly,... win32... I don't have a test environment for win32-ruby. Could you tell me details of your ruby environment? If your ruby is running on only one thread (main thread) and the thread is Tk.mainloop, the cost of such process is almost equal to the cost of Tcl/Tk. (I think so.) Is Tcl/Tk running under lower priority? Even if you change parameters on tcltklib.c (line 72--77; especially DEFAULT_NO_EVENT_WATI on line 74 and NO_THREAD_INTERRUPT_TIME on line 77), do you get the same result? -- Hidetoshi Nagai (nagai@ai.kyutech.ac.jp)