Re: fl_do_forms() and signals

David Halls (David.Halls@cl.cam.ac.uk)
Tue, 18 Mar 1997 07:51:51 +0000

To subscribers of the xforms list from David Halls <David.Halls@cl.cam.ac.uk> :

> I had a similar problem. What I did was to have the threads that
> needed to interrupt the forms handling thread write a small message to
> a pipe and add an io callback for that pipe. No signals at all.
> Works nicely.

Yeah, that's what I did too. I did it from Scheme, which allowed more than one
thread to have the illusion they were calling normal forms functions - pass a
closure down the pipe, which the "form daemon" thread passes to eval and so
does the client thread's work. I'm planning to release my Bigloo/XForms
integration once I've got everything out of they way but I'm doubtful if anyone
else is really interested :)

Dave

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/