From: Christophe Raffalli <christophe@raffalli.eu>
To: Gabriel Scherer <gabriel.scherer@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Parallel for with exception
Date: Fri, 14 Oct 2022 16:34:09 -1000 [thread overview]
Message-ID: <20221015023409.cqf277ha2awz73ck@oulala> (raw)
In-Reply-To: <CAPFanBEzzVLv3Zo6dEmdX3G-F2Wcki9EgbGDN3DH1Egfrw16ew@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
[-- Attachment #2: Type: message/rfc822, Size: 15785 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 725 bytes --]
On 22-10-14 22:49:46, Gabriel Scherer wrote:
> If I understand correctly, you are asking about cancellation for Domainslib
> tasks, specifically for Task.parallel_for.
Hello,
Not only, parallel_for does not seem to even transmit the exception.
But yes, it should also cancel the useless computation.
In fact, what I really need are parallel exists and for_all.
> (I would have created an issue against Domainslib to ask. Interestingly, I can
> find only one vague mention of cancellation there,
> https://github.com/ocaml-multicore/domainslib/pull/51#discussion_r729296762
> )
I added an issue...
Cheers,
Christophe
--
Christophe Raffalli
tél: +689 87 23 11 48
web: http://raffalli.eu
[-- Attachment #2.1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 499 bytes --]
prev parent reply other threads:[~2022-10-15 2:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-13 4:00 Christophe Raffalli
2022-10-14 20:49 ` Gabriel Scherer
2022-10-15 2:34 ` Christophe Raffalli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221015023409.cqf277ha2awz73ck@oulala \
--to=christophe@raffalli.eu \
--cc=caml-list@inria.fr \
--cc=gabriel.scherer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox