From: skaller <skaller@maxtal.com.au>
To: caml-list@inria.fr
Subject: Re: Thread feature missing
Date: Tue, 22 Feb 2000 07:38:28 +1100 [thread overview]
Message-ID: <38B1A244.2B0F5832@maxtal.com.au> (raw)
In-Reply-To: <20000218101403.40695@pauillac.inria.fr>
Xavier Leroy wrote:
> Again, I'd argue that a design that calls for thousands of threads is
> broken. See the periodic and lively discussions on
> comp.programming.threads on this topic.
I have an application that _requires_ thousands of
threads of control. It has nothing to do with the 'design'.
Of course, the threads spend most of the time doing nothing,
and the current implementation uses callbacks not hardware
threads. However, programming in this environment directly
is bad; the programmer wants to write threads.
I was thinking of using the bytecode interpreter threads to
implement this. Is this not feasible? [Hardware threads are
too slow, I need to create 500 threads per second, with
a life of about 5 mins, which means about 20000 active threads:
the overhead of 4K is per thread is small, only ~80Meg]
--
John (Max) Skaller, mailto:skaller@maxtal.com.au
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
checkout Vyper http://Vyper.sourceforge.net
download Interscript http://Interscript.sourceforge.net
next prev parent reply other threads:[~2000-02-22 10:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-10 13:49 Typing problem jean-marc alliot
2000-02-11 10:17 ` Pierre Weis
2000-02-12 22:34 ` Jacques Garrigue
2000-02-14 8:04 ` Thread feature missing Christophe Raffalli
2000-02-14 15:11 ` Gerd Stolpmann
2000-02-15 16:06 ` Xavier Leroy
2000-02-16 11:31 ` Christophe Raffalli
2000-02-18 9:14 ` Xavier Leroy
2000-02-21 20:38 ` skaller [this message]
2000-02-22 11:15 ` Some questions about floatting point issues jean-marc alliot
2000-02-25 16:04 ` Xavier Leroy
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=38B1A244.2B0F5832@maxtal.com.au \
--to=skaller@maxtal.com.au \
--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