Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] Parallel for with exception
@ 2022-10-13  4:00 Christophe Raffalli
  2022-10-14 20:49 ` Gabriel Scherer
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe Raffalli @ 2022-10-13  4:00 UTC (permalink / raw)
  To: caml-list

[-- 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: 14753 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 411 bytes --]


Hello,

I am trying ocaml 5.0 and Task.parralel_for in
domainlib is not compatible with exception to interrupt the loop.
When an exception is raised by a task, we need to interrupt or wait for the
other tasks to finish before raising the exception.

What is the recommanded solution for that pattern ?

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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-15  2:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-13  4:00 [Caml-list] Parallel for with exception Christophe Raffalli
2022-10-14 20:49 ` Gabriel Scherer
2022-10-15  2:34   ` Christophe Raffalli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox