Commit 475c5ef8 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

locking.rst: add captions to two tables



Those tables have a "caption" at the end, but ReST
actually expects it on a different way.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 5b9fd1d3
Loading
Loading
Loading
Loading
+36 −34
Original line number Diff line number Diff line
@@ -29,6 +29,9 @@ In a normal program, you can increment a counter like so:

This is what they would expect to happen:


.. table:: Expected Results

  +------------------------------------+------------------------------------+
  | Instance 1                         | Instance 2                         |
  +====================================+====================================+
@@ -45,10 +48,10 @@ This is what they would expect to happen:
  |                                    | write very_important_count (7)     |
  +------------------------------------+------------------------------------+

Table: Expected Results

This is what might happen:

.. table:: Possible Results

  +------------------------------------+------------------------------------+
  | Instance 1                         | Instance 2                         |
  +====================================+====================================+
@@ -65,7 +68,6 @@ This is what might happen:
  |                                    | write very_important_count (6)     |
  +------------------------------------+------------------------------------+

Table: Possible Results

Race Conditions and Critical Regions
------------------------------------