Skip to content

Commit

Permalink
Bug 1606959 - Include the checkerboard event lock in the APZ lock ord…
Browse files Browse the repository at this point in the history
…ering documentation (DONTBUILD for doc-only change). r=tnikkel

Depends on D58658

Differential Revision: https://phabricator.services.mozilla.com/D58662

--HG--
extra : moz-landing-system : lando
  • Loading branch information
theres-waldo committed Jan 3, 2020
1 parent ac360dc commit 135666d
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions gfx/docs/AsyncPanZoom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -474,14 +474,15 @@ Locks

There are also a number of locks used in APZ code:

================== ==============================
Lock type How many instances
================== ==============================
APZ tree lock one per APZCTreeManager
APZC map lock one per APZCTreeManager
APZC instance lock one per AsyncPanZoomController
APZ test lock one per APZCTreeManager
================== ==============================
======================= ==============================
Lock type How many instances
======================= ==============================
APZ tree lock one per APZCTreeManager
APZC map lock one per APZCTreeManager
APZC instance lock one per AsyncPanZoomController
APZ test lock one per APZCTreeManager
Checkerboard event lock one per AsyncPanZoomController
======================= ==============================

Thread / Lock Ordering
~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -507,6 +508,7 @@ Respecting the ordering means the following:
7. **APZC map lock**
8. **APZC instance lock**
9. **APZ test lock**
10. **Checkerboard event lock**

Example workflows
^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 135666d

Please sign in to comment.