~alan-griffiths/mir/be-nice-to-clang

Viewing all changes in revision 4226.

  • Committer: Tarmac
  • Author(s): Christopher James Halse Rogers
  • Date: 2017-08-14 08:54:11 UTC
  • mfrom: (4219.2.3 threadsafe-surface-store)
  • Revision ID: tarmac-20170814085411-gh2lnlxtb0lnnrnj
DefaultPersistentSurfaceStore: Wrap underlying store in a Mutex<>.

The surface store may be accessed from multiple threads (it's accessed from each
sessions SessionMediator, for example), so it should probably have some sort of
locking around its underlying datastore.
.

Approved by Alan Griffiths, mir-ci-bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: