Skip to content

Commit 673143f

Browse files
committed
CWG2970 Races with volatile sig_atomic_t bit-fields
1 parent 73a7223 commit 673143f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/basic.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6586,7 +6586,8 @@
65866586
\end{note}
65876587

65886588
\pnum
6589-
Two accesses to the same object of type \tcode{\keyword{volatile} std::sig_atomic_t} do not
6589+
Two accesses to the same non-bit-field object
6590+
of type \tcode{\keyword{volatile} std::sig_atomic_t} do not
65906591
result in a data race if both occur in the same thread, even if one or more
65916592
occurs in a signal handler. For each signal handler invocation, evaluations
65926593
performed by the thread invoking a signal handler can be divided into two

0 commit comments

Comments
 (0)