From: nadji@noos.fr
To: Alessandro Baretta <alex@baretta.com>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] Native Threads
Date: Sun, 06 Oct 2002 17:02:52 +0200 [thread overview]
Message-ID: <3DA0509B.637F1DDB@noos.fr> (raw)
In-Reply-To: <3DA049DF.7030902@baretta.com>
Alessandro Baretta wrote:
> If you want synchronous killing you're in a mess, but if I
> can live with an asynchronous model, here's how you might go
> about with it.
I can live with asynchronous killing :)
> This requires that Foo.f work cooperatively by periodically
> checking Foo.run to verify that it still has time. When,
That's what I thought. Unfortunately, not all functions can
be cooperative, and I wanted to stop a gethostbyname and
open_connection (+reads and writes) if it took too long.
I know how to do this for reads and writes, but not the others.
And I could live with the bytecode version, but I wouldn't want
to maintain 2 ocaml distributions ...
Thanks for your time,
nadji
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2002-10-06 15:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-06 11:12 nadji
2002-10-06 11:35 ` Sven LUTHER
2002-10-06 14:34 ` Alessandro Baretta
2002-10-06 15:02 ` nadji [this message]
2002-10-13 8:43 ` Xavier Leroy
2002-10-13 9:04 ` Sven LUTHER
2002-10-13 10:42 ` Stefano Zacchiroli
2002-10-13 11:26 ` Sven LUTHER
2002-10-13 10:45 ` nadji
2002-10-13 15:21 ` Alessandro Baretta
2002-10-13 15:26 ` nadji
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=3DA0509B.637F1DDB@noos.fr \
--to=nadji@noos.fr \
--cc=alex@baretta.com \
--cc=caml-list@inria.fr \
/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