[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multithreading, again and again
From: |
Dave Abrahams |
Subject: |
Re: Multithreading, again and again |
Date: |
Thu, 20 Oct 2011 16:54:09 -0400 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) |
on Thu Oct 20 2011, Stefan Monnier <monnier-AT-IRO.UMontreal.CA> wrote:
>> I think cooperativeness doesn't really eliminate the need for locks,
>
> I hope it will.
I think it can't. If I write a (pure) function f today I should be able
to come back later and make its implementation multithreaded without
breaking all the other code that's running. I don't see how I can do
that if instead of locking you plan to rely on people not-yielding. If
there's no level at which parallelism can become an implementation
detail, I think you don't have a workable programming model.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
- Re: Multithreading, again and again, (continued)
Re: Multithreading, again and again, Helmut Eller, 2011/10/18
Re: Multithreading, again and again, Tom Tromey, 2011/10/19
Re: Multithreading, again and again, Tom Tromey, 2011/10/19
- Re: Multithreading, again and again, Stefan Monnier, 2011/10/19
- Re: Multithreading, again and again, Tom Tromey, 2011/10/19
- Re: Multithreading, again and again, Stefan Monnier, 2011/10/19
- Re: Multithreading, again and again, Tom Tromey, 2011/10/20
- Re: Multithreading, again and again, Stefan Monnier, 2011/10/20
- Re: Multithreading, again and again,
Dave Abrahams <=
- Re: Multithreading, again and again, Tom Tromey, 2011/10/20