Hi Sergei,
I took example x00 and turned it into a multithreaded version. It worked as you
would expect - the picture is drawn correctly in the separate thread, no
problems there. It would seem that there is more to it than "merely" a
multithreaded environment.
Could you try this code and
Hi Sergei,
> -Original Message-
> From: Sergei Naumov [mailto:vo...@rambler.ru]
> Sent: Tuesday, January 13, 2015 5:45 PM
> To: Arjen Markus
> Cc: plplot-general@lists.sourceforge.net
> Subject: RE: RE: RE: RE: RE: [Plplot-general] Plotting from multithreaded
> envir
> I do not know anything about the GTK multithreading capabilities, so what I
> would like to know is, where are the threads introduced, is that in
> g_timeout()?
> But I would think that it initialises a single extra thread. Plplot itself is
> not threadsafe, that is, you should not use the
13.01.2015, 17:12:27 пользователь Arjen Markus (arjen.mar...@deltares.nl)
написал:
> What happens if you do not use g_timeout()? I’d say the plot should appear
> (at least the axes).
Nop... I moved it to the end if init_app() and the axes appeared. Probably
because plotting happens in the ma
; To: Plplot General
> Cc: Arjen Markus
> Subject: RE: RE: RE: RE: [Plplot-general] Plotting from multithreaded
> environment
>
>
>
> > 13.01.2015, 17:09:55 пользователь Sergei Naumov (vo...@rambler.ru)
> написал:
> >
> >
> >
> > 13.01.2015, 16:50:49
> 13.01.2015, 17:09:55 пользователь Sergei Naumov (vo...@rambler.ru) написал:
>
>
>
> 13.01.2015, 16:50:49 пользователь Arjen Markus (arjen.mar...@deltares.nl)
> написал:
>
> > Hi Sergei,
> > The purpose of plend() (called in setup_plot_drawable()) is to close off
> > the Plplot library, so
; Cc: plplot-general@lists.sourceforge.net
> Subject: RE: RE: RE: [Plplot-general] Plotting from multithreaded environment
>
>
>
>
>
>
> 13.01.2015, 16:50:49 пользователь Arjen Markus (arjen.mar...@deltares.nl)
> написал:
>
> > Hi Sergei,
> > The purpose of plen
: Tuesday, January 13, 2015 2:07 PM
> To: Arjen Markus
> Cc: plplot-general@lists.sourceforge.net
> Subject: RE: RE: [Plplot-general] Plotting from multithreaded environment
>
>
> 13.01.2015, 16:01:48 пользователь Arjen Markus (arjen.mar...@deltares.nl)
> написал:
>
> &g
13.01.2015, 16:01:48 пользователь Arjen Markus (arjen.mar...@deltares.nl)
написал:
> Hi Sergei,
>
> Can you give us a (preferrably small) example of this behaviour?
Seems the attachment did not come to the mailing list. Did it come to you?
-- Sergei
--
Hi!
I am writing a program that periodically pulls data over a serial line. It has
to
process and plot them. The plotting is done into a GDK_PIXMAP. In order to pull
data periodically I start a separate gdk thread with g_timeout_add_seconds().
What I find however is that all plplot commands that
10 matches
Mail list logo