Skip to content

Commit 6895087

Browse files
committed
stubs for wait/notify axiomatic
1 parent db59f85 commit 6895087

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

document/core/exec/relaxed.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ Consistency
101101
.. math::
102102
\frac{
103103
\begin{array}[b]{@{}l@{}}
104+
\vdash_{\reg} \trace \suspensionsconsistentwith \\
104105
\forall \evt_R \in \readingact_{\reg}(\trace), \exists \evt_W^\ast,
105106
\trace \vdash_{\reg} \evt_R \readseachfrom \evt_W^\ast \\
106107
\forall \evt_I, \evt \in \trace, \,
@@ -186,6 +187,15 @@ Consistency
186187
\vdash_{\reg} \evt_R \notear \evt_W^\ast
187188
}
188189
190+
.. math::
191+
\frac{
192+
TODO
193+
}{
194+
\vdash_{\reg} \trace \suspensionsconsistentwith \\
195+
}
196+
197+
.. todo:: pull out the trace events which denote wait/wake actions as a timestamped list, check queue behaviour
198+
189199

190200
.. [#cite-oopsla2019]
191201
The semantics of the relaxed memory model is derived from the following article:

document/core/util/macros.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,7 @@
11431143

11441144
.. |consistent| mathdef:: \xref{exec/relaxed}{relaxed-consistent}{\mathrel{\mbox{consistent}}}
11451145
.. |consistentwith| mathdef:: \xref{exec/relaxed}{relaxed-consistent}{\mathrel{\mbox{consistent-with}}}
1146+
.. |suspensionsconsistentwith| mathdef:: \xref{exec/relaxed}{relaxed-consistent}{\mathrel{\mbox{suspensions-consistent-with}}}
11461147
.. |readseachfrom| mathdef:: \xref{exec/relaxed}{relaxed-consistent}{\mathrel{\mbox{reads-each-from}}}
11471148
.. |readsfrom| mathdef:: \xref{exec/relaxed}{relaxed-consistent}{\mathrel{\mbox{reads-from}}}
11481149
.. |notear| mathdef:: \xref{exec/relaxed}{relaxed-consistent}{\mathrel{\mbox{no-tear}}}

0 commit comments

Comments
 (0)