[Bordeaux-threads-devel] with-timeout abstraction leaks a bit?

Peter Seibel peter at gigamonkeys.com
Fri Dec 18 16:34:15 UTC 2009


I was using WITH-TIMEOUT the other day and it seems that it doesn't
quite hide the underlying implementation quite enough: on SBCL it
signals an SBCL-specific condition when it times out. Thus to handle
the timeout you have to either handle that specific condition or
something too broad (like CONDITION). Perhaps BT:WITH-TIMEOUT should
handle the underlying condition and signal a BT-defined condition so
this code can be written portably. I could provide a patch for SBCL
(and probably Allegro) if folks think this is a good idea.

-Peter

-- 
Peter Seibel
http://www.codersatwork.com/
http://www.gigamonkeys.com/blog/




More information about the bordeaux-threads-devel mailing list