Re: [gtk-list] GTK Thread help



"Edward J. March Jr." wrote:

> I compiled gtk --with-threads=posix
> In the hope of using GTK for a threaded project.
> However  testthreads in the /gtk-1.1.5/gtk/testthreads
> crashes before running till completion. WHY???
> The error is Gtk-Message (recursive)
>
> What is the normal way to have a some task in the background
> add text or data to GtkWidgets ?? Seems like a processes is too complex and
> has the non-memory share problem. If not threads what other method can I
> use ?  What does GIMP use ? and How ?
> Seems like if testthread crashes anything I write using a thread w/ Gtk is
> also hopeless ? Right ?
>
> Please point me in the right direction. I like GTK a lot NICE JOB guys !
>
>         Best Regards,
>         Ed
>
> //------------------------------------------------------------------------
> // Edward March Jr. WB9RAA -- Mt. Prospect, IL
> //
> // ***> http://www.cl.ais.net/emarch
> // ***> http://www.bmtmicro.com/catalog/clone.html
> //
> // Win95 or Better, I chose better!
> // I Run OS/2 Warp 3.0 & 4.0 and Linux Red Hat 5.0 & S.u.S.E. 5.3
> //------------------------------------------------------------------------
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

Compile gtk with --with-threads=yes
it will work...

bye

--
                                 -- Yoann
         It is well known that M$ products don't call free() after a malloc()
      The unix community wishes them "good luck" for their future development...





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]