A blog about the joys and perils of software development

Tag Archives: concurrency

Strands, Concurrency and Message Passing

Using locks for synchronization makes software development difficult, with run-time problems such as deadlocks and live-locks. There are also design problems: locks break modularity since they do no obey module boundaries. […] In my experience, message passing is a more appealing way of handling concurrency complexity. A nice way to implement message passing is the concept of “strands”: message passing that uses a fixed number of threads. […] Continue reading