[CM] snd pd external reports "Unbound variable: in" during startup

Kjetil S. Matheussen k.s.matheussen at notam02.no
Mon Jul 21 07:28:17 PDT 2008


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.



More information about the Cmdist mailing list