octave-maintainers
[Top][All Lists]
Advanced

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

Re: Race condition seems to be fixed


From: John W. Eaton
Subject: Re: Race condition seems to be fixed
Date: Tue, 22 May 2012 07:02:09 -0400

On 22-May-2012, Jacob Dawid wrote:

| 
|     Oh, I see now that it also happens with something as simple as
| 
|      function foobar () end
|      add_input_event_hook ("foobar");
| 
|     so the problem is generic, and probably not the fault of the ftlk
|     callback taking too much time.
| 
|     So Jacob, I think you should use the input_event_hook mechanism to
|     handle your callback.
| 
| 
| I just test how well that performs. What the name of that hook in C?

For now, create an Octave function with DEFUN and install it in the
same way that the DLD-FUNCTIONS/__init_fltk__.cc file uses (search for
add_input_event_hook in that file).

If needed, we can later change Octave so that the DEFUN is not needed.

jwe


reply via email to

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