# To subscribers of the xforms list from "T.C. Zhao" <email@example.com> :
--- Jan Menzel <firstname.lastname@example.org> wrote:
> My application consists of two parts: one does periodic processing in
> background, the other displays the results in the controlling form.
> background stuff is done using timer and SIGALRM. I found, the
> the signals synchronously with XForms using fl_set_signal_callback()
> 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
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.
To unsubscribe, send the message "unsubscribe" to
email@example.com or see
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