From: Patrik Sundberg Date: 2002-02-12T01:41:53+09:00 Subject: Re: gtk and threads On Mon, Feb 11, 2002 at 11:47:28PM +0900, ts wrote: > >>>>> "P" == Patrik Sundberg writes: > P> the gtk mainloop. From my tests this don't seem to be accurate since any > P> additional threads are never run. So what is the status on this? > > Can you give your example ? > > It seems to work with me (on a small modification of sample/helloworld.rb) oops.. seems it was an error on my part in another place. threads seems ok with gtk and my sanity is somewhat restored. all i have now is a 100% cpu usage when I call Gtk.main_quit or exit when using threads. this error is printed by gdk: Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0. anyone have any ideas on what this could be? -- ---------------------------------------------------------------------------. Patrik Sundberg Address: Rydsv�gen 100C, 584 31 Link�ping, Sweden | Email: ps@raditex.se || ps@radiac.mine.nu | Phone: +46 13 178567 || +46 707 602240 | .---> Applied Physics and Electrical Engineering student | |-----> Master of Science in Business Administration and Economics student | |-------> UNIX/Programming consultant | `--------------------------------------------------------------------------'