Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Make it idiot-proof, and someone will breed a better idiot. -- Oliver Elphick


devel / comp.lang.lisp / Timeouts in various Lisps

SubjectAuthor
* Timeouts in various Lispsantispam
`* Re: Timeouts in various LispsZyni Moë
 `* Re: Timeouts in various Lispsantispam
  +- Re: Timeouts in various LispsGeorge Neuner
  `- Re: Timeouts in various LispsZyni Moë

1
Timeouts in various Lisps

<t4ps8i$15ds$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17089&group=comp.lang.lisp#17089

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!aioe.org!NZ87pNe1TKxNDknVl4tZhw.user.46.165.242.91.POSTED!not-for-mail
From: antispam@math.uni.wroc.pl
Newsgroups: comp.lang.lisp
Subject: Timeouts in various Lisps
Date: Tue, 3 May 2022 00:16:18 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t4ps8i$15ds$1@gioia.aioe.org>
Injection-Info: gioia.aioe.org; logging-data="38332"; posting-host="NZ87pNe1TKxNDknVl4tZhw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.10.0-9-amd64 (x86_64))
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:KUzjskco2j5BVm2cltLmuyKn4nE=
 by: antispam@math.uni.wroc.pl - Tue, 3 May 2022 00:16 UTC

I would like to implement a timeout in my program, that is
abort computation not done within time limit. Using SBCL
I can use 'sb-ext:with-timeout' which despite warning
in manual seem to work well. Is there something similar
in othe Lisp implementations?

AFAICS timeout require non-portable low level support
which is implementation-specific so I would like to know
what is supported in other Lisp-s.

--
Waldek Hebisch

Re: Timeouts in various Lisps

<t4qog9$qcs$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17090&group=comp.lang.lisp#17090

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no_email@invalid.invalid (Zyni Moë)
Newsgroups: comp.lang.lisp
Subject: Re: Timeouts in various Lisps
Date: Tue, 3 May 2022 08:18:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <t4qog9$qcs$1@dont-email.me>
References: <t4ps8i$15ds$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 3 May 2022 08:18:17 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c0f5812a634286c25c05afb18818151f";
logging-data="27036"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+KJBbjn6G/j+otXmZWCqLBYQM5viehkVk="
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:pIbrLgXKGAChBqCtaRPqLBzfc3M=
sha1:F12iJrtJhpiHhOJpHkswKlaqMvc=
 by: Zyni Moë - Tue, 3 May 2022 08:18 UTC

<antispam@math.uni.wroc.pl> wrote:
> AFAICS timeout require non-portable low level support
> which is implementation-specific so I would like to know
> what is supported in other Lisp-s.

Probably use Bordeaux threads which provides timeout support.

--
the small snake

Re: Timeouts in various Lisps

<t4r6ou$ll7$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17091&group=comp.lang.lisp#17091

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!aioe.org!NZ87pNe1TKxNDknVl4tZhw.user.46.165.242.91.POSTED!not-for-mail
From: antispam@math.uni.wroc.pl
Newsgroups: comp.lang.lisp
Subject: Re: Timeouts in various Lisps
Date: Tue, 3 May 2022 12:21:50 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t4r6ou$ll7$1@gioia.aioe.org>
References: <t4ps8i$15ds$1@gioia.aioe.org> <t4qog9$qcs$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="22183"; posting-host="NZ87pNe1TKxNDknVl4tZhw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.10.0-9-amd64 (x86_64))
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:7mAZV8q9A7gN2VujMCPLJV925uE=
 by: antispam@math.uni.wroc.pl - Tue, 3 May 2022 12:21 UTC

Zyni Mo? <no_email@invalid.invalid> wrote:
> <antispam@math.uni.wroc.pl> wrote:
>
> > AFAICS timeout require non-portable low level support
> > which is implementation-specific so I would like to know
> > what is supported in other Lisp-s.
>
> Probably use Bordeaux threads which provides timeout support.

Do Bordeaux threads provide something like 'sb-ext:with-timeout'?
AFAICS what is needed for multithreading is easier to provide
than support within single thread which I need.

One reason to ask here is that Google provides a lot of hits,
AFAICS all irrelevant.

--
Waldek Hebisch

Re: Timeouts in various Lisps

<qbd27hh9tj6nlejrjsh4entfii44uj1k7l@4ax.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17092&group=comp.lang.lisp#17092

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: gneuner2@comcast.net (George Neuner)
Newsgroups: comp.lang.lisp
Subject: Re: Timeouts in various Lisps
Date: Tue, 03 May 2022 10:15:20 -0400
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <qbd27hh9tj6nlejrjsh4entfii44uj1k7l@4ax.com>
References: <t4ps8i$15ds$1@gioia.aioe.org> <t4qog9$qcs$1@dont-email.me> <t4r6ou$ll7$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="d6144da0bbc7bb4c64c6e7344b53c38a";
logging-data="14743"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xqOZIynTNtjthXKHzZJ7hNy/OSvi8jW0="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:W/SEKtSFAnMMGW8EemIkeJpEUEI=
 by: George Neuner - Tue, 3 May 2022 14:15 UTC

On Tue, 3 May 2022 12:21:50 -0000 (UTC), antispam@math.uni.wroc.pl
wrote:

>Zyni Mo? <no_email@invalid.invalid> wrote:
>> <antispam@math.uni.wroc.pl> wrote:
>>
>> > AFAICS timeout require non-portable low level support
>> > which is implementation-specific so I would like to know
>> > what is supported in other Lisp-s.
>>
>> Probably use Bordeaux threads which provides timeout support.
>
>Do Bordeaux threads provide something like 'sb-ext:with-timeout'?
>AFAICS what is needed for multithreading is easier to provide
>than support within single thread which I need.
>
>One reason to ask here is that Google provides a lot of hits,
>AFAICS all irrelevant.

https://quickref.common-lisp.net/bordeaux-threads.html#Exported-macros

Re: Timeouts in various Lisps

<t4te12$or5$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17094&group=comp.lang.lisp#17094

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no_email@invalid.invalid (Zyni Moë)
Newsgroups: comp.lang.lisp
Subject: Re: Timeouts in various Lisps
Date: Wed, 4 May 2022 08:37:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <t4te12$or5$1@dont-email.me>
References: <t4ps8i$15ds$1@gioia.aioe.org>
<t4qog9$qcs$1@dont-email.me>
<t4r6ou$ll7$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 4 May 2022 08:37:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2254253b896d4ff91f43793de637fe1b";
logging-data="25445"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yrVYHq4FbSLamre5oUE1EIgHogKbe5tg="
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:XWyjwbgtuhhWbg514pfBhDwzHsk=
sha1:mXPzAZqrfnPPpWpewLASQviUvsE=
 by: Zyni Moë - Wed, 4 May 2022 08:37 UTC

<antispam@math.uni.wroc.pl> wrote:

> Do Bordeaux threads provide something like 'sb-ext:with-timeout'?
> AFAICS what is needed for multithreading is easier to provide
> than support within single thread which I need.
>
> One reason to ask here is that Google provides a lot of hits,
> AFAICS all irrelevant.
>

I do not use google but a DDG search for 'bordeaux threads lisp' gives the
first hit as the project page, the second one as the documentation, from
which will find
https://sionescu.github.io/bordeaux-threads/timeouts/with-timeout/.
Probably google is as good as DDG.

Learning how to drive search engine is important skill in this modern day.

--
the small snake

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor