|
From: | Michael Goffioul |
Subject: | Re: Connecting Octave to the GUI |
Date: | Mon, 8 Apr 2013 17:51:11 -0400 |
Can't one pass by reference after using:On 04/08/2013 04:39 PM, John W. Eaton wrote:
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. :-(
qRegisterMetaType<octave_value_list> ("octave_value_list");
?
[Prev in Thread] | Current Thread | [Next in Thread] |