~afrantzis/mir/fix-mircommon-debian-replaces

Viewing all changes in revision 1793.

  • Committer: Tarmac
  • Author(s): Alexandros Frantzis
  • Date: 2014-07-25 13:39:29 UTC
  • mfrom: (1791.2.1 fix-1348095-attrib-race)
  • Revision ID: tarmac-20140725133929-qjm79xxv9k2t2ozv
client: Fix race when setting up surface attributes during surface creation
(LP: #1348095)

Move attribute initialization before the asynchronous surface creation request,
since at its current position (after the creation request), attribute
initialization may happen concurrently with attribute updates from the surface
creation process in a different thread. Fixes: https://bugs.launchpad.net/bugs/1348095.

Approved by PS Jenkins bot, Daniel van Vugt, Robert Carr, Alan Griffiths, Kevin DuBois.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: