On Mon, 23 Jan 2017 18:10:46 -1000 (HST)
rbd wrote:
> Eric (cecas...@aol.com) sent me the following earlier today in
> response to another discussion thread I started a few days ago re:
> GSubProcess:
>
> > I put together a test example of GSubprocess. ...
> >
> >
> > https://github.com/cecashon
Eric (cecas...@aol.com) sent me the following earlier today in response to
another discussion thread I started a few days ago re: GSubProcess:
I put together a test example of GSubprocess. ...
https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/Pipes/gnuplot5.c
In an amazi
On Mon, 23 Jan 2017 22:18:19 +
Emmanuele Bassi wrote:
> Hi;
>
> On 23 January 2017 at 22:09, rbd wrote:
>
> >> It is not quite that bad. The documentation for
> >> g_source_add_unix_fd() is inadequate, but although not immediately
> >> obvious the prepare, check and finalize handlers can i
Hi Emmanuele,
Thanks for the additional documentation references! They were generally
informative, although I think the one you mentioned as being apropos of my
particular case was actually designed to be used for a source specifically
other than file descriptors -- it was useful nonetheless,
Hi;
On 23 January 2017 at 22:09, rbd wrote:
>> It is not quite that bad. The documentation for g_source_add_unix_fd()
>> is inadequate, but although not immediately obvious the prepare, check
>> and finalize handlers can in fact usually just be set to NULL (provided
>> you have set the 'events'
Thanks for all the further explication, Chris!
The problem is that the main loop would enter a busy loop. Well, maybe
a 'busy-ish' loop. If you call up g_idle_add() with a repeating
callback (one which returns TRUE) which does nothing except examine a
non-blocking select(), you will end up w
On Mon, 23 Jan 2017 09:30:17 -1000 (HST)
rbd wrote:
> Hi Chris,
>
> Thanks very much for all of that information -- it was very helpful!
>
> >> I do not fully understand your question (especially I don't
> >> understand your reference to using "g_idle_add_full() and do my
> >> own non-blocking s
Hi Chris,
Thanks very much for all of that information -- it was very helpful!
I do not fully understand your question (especially I don't understand
your reference to using "g_idle_add_full() and do my own non-blocking
select() inside my callback", which would not work), ...
I won't be try
Hi Roger,
I put together a test example of GSubprocess. It starts Gnuplot, sets up the
pipes and callbacks, and then when Gnuplot is done it opens the graph in an
image widget. The GSubprocess will take care of the file descripters for you.
Also, if I run valgrind with multiple plots being c
On Mon, 23 Jan 2017 00:29:46 +
Chris Vine wrote:
[snip]
> I do not fully understand your question (especially I don't understand
> your reference to using "g_idle_add_full() and do my own non-blocking
> select() inside my callback", which would not work), but you can
> either use glib's g_poll
On Sun, 22 Jan 2017 11:05:41 -1000 (HST)
rbd wrote:
> Hi all,
>
> I need to monitor a Unix file descriptor for input within my gtk3
> program. I believe that I need to somehow be using
> g_source_add_unix_fd() and friends but am finding the documentation
> confusing. Are there any simple examples
Hi all,
I need to monitor a Unix file descriptor for input within my gtk3 program.
I believe that I need to somehow be using g_source_add_unix_fd() and
friends but am finding the documentation confusing. Are there any simple
examples which show how to do this anywhere? (I looked but could not
12 matches
Mail list logo