caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Lwt and exceptions
@ 2011-09-13 18:37 rixed
  2011-09-13 19:17 ` Anil Madhavapeddy
  2011-09-15 10:04 ` Mehdi Dogguy
  0 siblings, 2 replies; 13+ messages in thread
From: rixed @ 2011-09-13 18:37 UTC (permalink / raw)
  To: caml-list

The Lwt doc states that you should not use "raise" when using Lwt
but use Lwt.fail instead.

So, is it still OK to call functions (for instance from the stdlib)
that may raise an exception, provided we catch it soon enough ?
And by "soon enough" I mean: before an Lwt call that could schedule
another thread.


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

end of thread, other threads:[~2011-09-17 10:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-13 18:37 [Caml-list] Lwt and exceptions rixed
2011-09-13 19:17 ` Anil Madhavapeddy
2011-09-14 16:15   ` rixed
2011-09-15 12:24     ` Jérémie Dimino
2011-09-15 10:04 ` Mehdi Dogguy
2011-09-15 10:35   ` Anil Madhavapeddy
2011-09-15 12:09   ` Jérémie Dimino
2011-09-15 12:33     ` Mehdi Dogguy
2011-09-15 12:22   ` Dmitry Grebeniuk
2011-09-15 13:10     ` Jérémie Dimino
2011-09-17  6:38       ` Dmitry Grebeniuk
2011-09-17  9:23         ` Stéphane Glondu
2011-09-17 10:20         ` Jérémie Dimino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).