in reply to Re^2: Shared state concurrency is a no, no
in thread Why is the execution order of subexpressions undefined?

Bug-free concurrency certainly is possible, it just requires more brain power than the average programmer possesses. Some people can do it with a handful of shared state variables wrapped in seperate mutexes and still prevent deadlocks just by thinking through their code very carefully.
  • Comment on Re^3: Shared state concurrency is a no, no

Replies are listed 'Best First'.
Re^4: Shared state concurrency is a no, no
by BrowserUk (Patriarch) on Apr 27, 2005 at 17:15 UTC
    Some people can do it with a handful of shared state variables wrapped in seperate mutexes and still prevent deadlocks just by thinking through their code very carefully.

    Show me please.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco.
    Rule 1 has a caveat! -- Who broke the cabal?