From: randhol+abuse@pvv.org (Preben Randhol)
Subject: Re: GtkAda and tasking how to?.
Date: Mon, 7 May 2001 10:07:10 +0000 (UTC)
Date: 2001-05-07T10:07:10+00:00 [thread overview]
Message-ID: <slrn9fct31.1jm.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 2AqJ6.46$yj1.1347@news3.global-ip.net
On Mon, 7 May 2001 07:34:38 +0200, Per Sandbergs wrote:
>
> Thanks for the example i may end up in going this way but what i realy want
> is to make the
> GUI thread safe since i am deling with a server program that previos took
> all commands form a socket connection aand just printet to standard output
> And what i want to do is to redirect Output to the GUI and still be able to
> control the GUI.
Perhaps I misunderstand you, but isn't it better then to put the GUI in
a separate thread so that if something goes wrong you can start up a new
GUI thread when you detect that the old one has died?
> But what i am getting after a while is
> Gdk-ERROR **: file gdkgc-win32.c: line 875 (gdk_gc_predraw): assertion
> failed: (data->xgc == NULL)
> It think it os a timing/race problem since the time the program runs seem to
> be random.
Have you tried it on Linux?
--
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
�For me, Ada95 puts back the joy in programming.�
prev parent reply other threads:[~2001-05-07 10:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-06 7:48 GtkAda and tasking how to? Per Sandbergs
2001-05-06 10:40 ` Preben Randhol
2001-05-07 5:34 ` Per Sandbergs
2001-05-07 10:07 ` Preben Randhol [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox