wnoise at ofb.net
Fri Feb 3 12:24:25 EST 2006
On 2006-02-03, John Goerzen <jgoerzen at complete.org> wrote:
> On Fri, Feb 03, 2006 at 05:56:41PM +0100, Tomasz Zielonka wrote:
>> On Fri, Feb 03, 2006 at 10:03:08AM -0600, John Goerzen wrote:
>> > I know, of course, that Java green threads and Haskell forkIO threads
>> > are called "threads", but I personally believe its misleading to call it
>> > concurrency -- they're not doing more than one thing at a time.
>> Aren't you thinking about Parallellism?
>> In computer science, concurrency is a property of systems which
>> consist of computations that execute overlapped in time
> You're not doing anything simultaneously ("overlapped in time") when
> you're using poll and select (only). To do something simultaneously in
> Unix, you'd have to either use fork() or start a thread.
That was his point. Threading is a way of structuring a program.
Parallelism is a strategy for exploiting that structuring (and others).
More information about the Haskell-prime