On Mon, 21 Jul 2008, Bill Schottstaedt wrote:
> > (I guess "in" comes with gtk or motif only.)
>
> I'll add it to the no-op list in the no-gui case, or should
> it do something? It actually could work, now that I think
> about it -- isn't there some "SIGALARM" even when there's
> no gui?
>
How about just using guile's thread support?
(define (in time thunk)
(call-with-new-thread
(lambda ()
(usleep (* 1000 time))
(thunk))))
It's a little bit resource hungry in case call-with-new-thread
create a new pthread (?), but should work as a backup solution.
_______________________________________________
Cmdist mailing list
[email protected]
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist