[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Locking graphics system - GUI/octave synchronization
From: |
Maciek Gajewski |
Subject: |
Re: Locking graphics system - GUI/octave synchronization |
Date: |
Tue, 15 Jul 2008 20:35:33 +0200 |
User-agent: |
KMail/1.9.9 |
I have one small request: would it be possible to split
graphics.cc/graphics.h(.in) int ofew smaller files? These files are huge,
they compile like ages and are hard to work with.
It would be much easier to do any broad changes - like event handling, mutexes
and uicontrols - having few smaller files.
Maciek Gajewski
Michael Goffioul wrote:
> Hi,
>
> I know this has been discussed before, but would anyone see a major problem
> or showstopper in adding a mutex-based locking system that would allow
> to globally lock the graphics system? (through the use of specific methods
> in gh_manager, like lock() and unlock()).
>
> I'm currently investigating the implementation of an event-queue in octave,
> which would allow a backend to post a callback from any thread, such that
> the callback is executed in the octave thread. During this posting, I need
> to check various things, like whether another callback is executing,
> whether it's interruptible, whether busyaction tells me to queue or discard
> the event... During these operations, I don't want the graphics system to
> change state, so a global locking scheme would really help.
>
> If anybody objects, then I'll integrate this in the graphics mq. This will
> be based on the proposal I made a few months ago and on the more recent
> proposal from Maciek.
>
> Bye,
> Michael.
- Re: Locking graphics system - GUI/octave synchronization, (continued)
- Re: Locking graphics system - GUI/octave synchronization, Michael Goffioul, 2008/07/20
- Re: Locking graphics system - GUI/octave synchronization, Michael Goffioul, 2008/07/22
- Re: Locking graphics system - GUI/octave synchronization, John W. Eaton, 2008/07/22
- Re: Locking graphics system - GUI/octave synchronization, Michael Goffioul, 2008/07/22
- Re: Locking graphics system - GUI/octave synchronization, John W. Eaton, 2008/07/22
- Re: Locking graphics system - GUI/octave synchronization, Jaroslav Hajek, 2008/07/18
- Message not available
- Re: Locking graphics system - GUI/octave synchronization, Michael Goffioul, 2008/07/16
- Re: Locking graphics system - GUI/octave synchronization, Maciek Gajewski, 2008/07/19
- Re: Locking graphics system - GUI/octave synchronization, Michael Goffioul, 2008/07/23
- Re: Locking graphics system - GUI/octave synchronization, Maciek Gajewski, 2008/07/23
Re: Locking graphics system - GUI/octave synchronization,
Maciek Gajewski <=