Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Share nothing at iNTERFACEWARE refers to the architectural choice to avoid sharing complex data structures and other resources such as sockets and Lua interpreters between threads with the use of mutexs to protect access to those resources.

It’s a special case of separation of concerns.

The challenge of using mutexs to protect shared resources is that it’s too easy for:

...