On Wed, Feb 20, 2008 at 10:26 PM, Julian Seward <[EMAIL PROTECTED]> wrote: > Typically only a small fraction of the memory in a program is shared; > most is unshared. It might be easier to turn it upside down, so the > tool is notified of areas which may be shared. Hmm. Not sure if > that is a good idea. It would give stronger checking but would > require exhaustively annotating all locations which might become > shared.
There exist applications where most data is shared between threads, and only a small fraction is owned by only one thread. E.g. in multithreaded finite element simulations the majority of the data consists of element data, which is shared over all computation threads. Bart Van Assche. ------------------------------------------------------------------------- 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
