Browse thread
[Caml-list] Threading: Using and Building
-
John Goerzen
- Xavier Leroy
-
Brian Hurt
-
John Goerzen
- Brian Hurt
- Benjamin Geer
-
John Goerzen
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Benjamin Geer <ben@s...> |
| Subject: | Re: [Caml-list] Threading: Using and Building |
John Goerzen wrote: > On Mon, Apr 12, 2004 at 07:37:09PM -0500, Brian Hurt wrote: > >>The threading is all user-space threading. It doesn't take advantage of >>multiple CPUs, doesn't use system threads, if one thread blocks they all >>block, etc. That's not true; see Xavier's explanation: http://caml.inria.fr/archives/200211/msg00274.html Specifically, 'while a thread is blocked on a network read, other threads may proceed'. > However, Python uses true > threads, so it is fine to call blocking system calls in threads (it will > not block the entire program). This is also the case in Caml; see above. Ben ------------------- 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