Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Threading: Using and Building
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-04-13 (07:45)
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:

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.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: