chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Posix threading


From: felix winkelmann
Subject: Re: [Chicken-users] Posix threading
Date: Fri, 11 Mar 2005 07:54:47 +0100

On Thu, 10 Mar 2005 18:57:50 -0500, Toby Butzon <address@hidden> wrote:
> 
> I'm new to "real" Scheme programming[1], but I'm quite surprised
> that it doesn't use posix/native threading. It seems like a wacky
> idea to have threads that can't be scheduled on separate CPUs, or
> worse, that block the entire process on a blocking system call
> (surprising since this is one of the major ways threads are used
> in other languages).
> 

User-space threads are simply more efficient than POSIX threads.
Additionally, first-class continuations make it nearly trivial
to implement them in user-space, so this is the road normally
taken for languages that support them.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]