Oz and Mozart Users Mailing List

Qtk, Panel and threading.


From: Jonke (jonke@bt.nu)
Date: Mon Nov 24 2003 - 14:18:02 CET


Hi.
I tried to find the correct way to submit this in bugzilla but it didn't really fit in anywhere.

The observation:
When I try with a very simple QTk GUI that uses the panel widget on a P4 with hyperthreading
everything stop to respond, after the first panel description.
When compiled as a functor the same behavior.

But when I order the cmd.exe to only affinity to CPU0 (windows XP seems to think that a P4 with
hyperthreading is a CPU0 and CPU1) and start the functor as an application everything start as normal.

This trick doesn't work for the OPI( to set emacs and every other process related to oz to affinity only for CPU0 dosn't help)

So, what I think is that tk.exe is to blame or maybe some call to tk 83.
Some investigation in tk seems to point to a race condition in 83.

oh, and Deny I know that this is not a proper BUG report and I will post a proper one later.

-
Please send submissions to users@mozart-oz.org
and administriva mail to users-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.
Please send bug reports to bugs@mozart-oz.org.



This archive was generated by hypermail 2b29.