Subject: Re: timer in lisp
From: (Rob Warnock)
Date: Thu, 03 Feb 2005 04:54:36 -0600
Newsgroups: comp.lang.lisp
Message-ID: <>
Raymond Toy  <> wrote:
|Fred Gilham <> writes:
| Fred> But in the X86 implementations of CMUCL (which have multiprocessing)
| Fred> you can use Unix timer facilities.  You can set a timer interrupt and
| Fred> have your handler set a flag and your process check the flag to know
| Fred> when to stop.
| As I understand it, CMUCL is not interrupt-safe so these periodic
| interrupts can cause weird things to happen.  A single interrupt is
| probably ok, though.

And if all you do in it is set or clear an "MP:"-provided software mutex
[so some other thread will run the next time the "MP:" libarary is entered],
then it's probably o.k...


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607