# To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :
--- Jan Menzel <jmenzel@mail.desy.de> wrote:
> My application consists of two parts: one does periodic processing in
> background, the other displays the results in the controlling form.
> Then
> background stuff is done using timer and SIGALRM. I found, the
> processing
> the signals synchronously with XForms using fl_set_signal_callback()
> is
> not fast enough.
signals going thru xforms do take time as xforms signal
handler can do things a regular signal handler can't.
There are ways around the speed problem. Basically
enable direct signal handling and set the xforms
signal handler that only does GUI update. Then register the signal
handler with the OS directly. Once the signal
is raised, do your processing first in the signal
handler, then
call fl_signal_caught() to invoke the GUI update.
This is fast enough to do real audio procossing.
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Sun Dec 10 2000 - 09:02:12 EST