@@ -106,7 +106,7 @@ pub enum AtomicFenceOp {
106
106
pub struct ThreadClockSet {
107
107
/// The increasing clock representing timestamps
108
108
/// that happen-before this thread.
109
- pub clock : VClock ,
109
+ pub ( crate ) clock : VClock ,
110
110
111
111
/// The set of timestamps that will happen-before this
112
112
/// thread once it performs an acquire fence.
@@ -116,11 +116,17 @@ pub struct ThreadClockSet {
116
116
/// have been released by this thread by a fence.
117
117
fence_release : VClock ,
118
118
119
- pub fence_seqcst : VClock ,
119
+ /// Timestamps of the last SC fence performed by each
120
+ /// thread, updated when this thread performs an SC fence
121
+ pub ( crate ) fence_seqcst : VClock ,
120
122
121
- pub write_seqcst : VClock ,
123
+ /// Timestamps of the last SC write performed by each
124
+ /// thread, updated when this thread performs an SC fence
125
+ pub ( crate ) write_seqcst : VClock ,
122
126
123
- pub read_seqcst : VClock ,
127
+ /// Timestamps of the last SC fence performed by each
128
+ /// thread, updated when this thread performs an SC read
129
+ pub ( crate ) read_seqcst : VClock ,
124
130
}
125
131
126
132
impl ThreadClockSet {
0 commit comments