xpra icon
Bug tracker and wiki

Changes between Version 1 and Version 2 of Ticket #224


Ignore:
Timestamp:
12/21/12 06:55:48 (7 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #224 – Description

    v1 v2  
    88Also, we now try to group more X11 calls before calling {{{XSync}}} (see r2281) and we keep broken window models around longer to avoid attempting to create them dozens of time before giving up: we take a shortcut (see r2304), which also fixes a bug where the same gdk window would end up having dozens of event receivers (as made apparent by r2267).
    99I've reviewed every single call to {{{trap.call}}} and {{{trap.swallow}}} and replaced them with their more explicit counterpart (sync/unsynced), see: r2285, r2284, r2282, r2280, r2279, r2277, r2276
    10 The general rule is to use synced calls if not in the critical path (ie: during setup or rare/important events), and use synced calls whenever we must ensure a consistent state (ie: setting up window model wrappers, etc)
     10The general rule is to use synced calls when not in the critical path (ie: during setup or rare/important events) or when we must ensure a consistent state (ie: setting up window model wrappers, etc) - there are only a few cases where we can do unsynced calls: generally when we are certain that the call will be followed by another synced call before returning from the thread, or when the syscall is deemed safe.
    1111We now have much better support for profiling CPU usage: see r2298, r2297
    1212