guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: srfi-18 requirements


From: Julian Graham
Subject: Re: srfi-18 requirements
Date: Thu, 7 Feb 2008 18:33:49 -0500

> > For join-thread, sure.  What about scm_join_thread?  Sorry if I'm
> > being obtuse, but my understanding was that you didn't want anything
> > like scm_join_thread_timed and that changing the signature of
> > scm_join_thread was out of the question.  (Or should this enhancement
> > only be exposed in Scheme?)
>
> Write scm_join_thread_timed(), which implements all the new behaviour.
> Map that to join-thread in Scheme - then that's still back compatible,
> because the added args are optional.  Then rewrite scm_join_thread()
> as a trivial function that just calls scm_join_thread_timed().
>
> See scm_catch_with_pre_unwind_handler() and scm_catch() in throw.c for
> a similar example.
>
> Does that sound OK to you?


Quite!  Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]