octave-maintainers
[Top][All Lists]
Advanced

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

Re: Connecting Octave to the GUI


From: John W. Eaton
Subject: Re: Connecting Octave to the GUI
Date: Mon, 08 Apr 2013 17:39:55 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11

On 04/08/2013 05:30 PM, Michael Goffioul wrote:
On Mon, Apr 8, 2013 at 4:25 PM, John W. Eaton <address@hidden
<mailto:address@hidden>> wrote:

    On 04/08/2013 04:15 PM, Daniel J Sebald wrote:

        emit octave_command_complete (QObject *requester, QString& command,
        octave_value_list& result);


    Aren't there problems with reference counting if you pass things
    like an octave_value_list object from the Octave interpreter thread
    to the GUI thread?


The atomic refcount I implemented a while back is supposed to be
thread-safe. I've been using it to pass octave objects between octave
and QtHandles and it seemed stable.

Yeah, but slow, as I recall.  :-(

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]