On Thu, 21 Feb 2008, Bart Van Assche wrote:

>>  One of the things I have come to realise in the past year or so
>>  is what a terrible programming model explicit shared-memory parallelism
>>  is.  It's simply too hard for humans to understand and reason about
>>  (in all but the most trivial of applications): even small threaded
>>  programs are extremely hard to make sense of.
>
> It depends. Although understanding concurrent activities is always
> hard, it is possible to write multithreaded software that is
> relatively easy to read and to maintain. What I have learned during
> the past ten years about writing multithreaded software is a.o. the
> following:

So basically you need various higher-level abstractions layered over 
pthreads, plus a strong dose of programmer discipline.  So it's doable, but 
hoping everyone will get it right is optimistic.

N

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to