<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src/simple_time.rs, branch arti-v1.1.12</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.12</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.12'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-10-05T18:09:19Z</updated>
<entry>
<title>tor-rtmock: simple_time: Don't export State</title>
<updated>2023-10-05T18:09:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T18:07:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=26684c5f4e1ad40cdddd3ee0b771ae47c44f1812'/>
<id>urn:sha1:26684c5f4e1ad40cdddd3ee0b771ae47c44f1812</id>
<content type='text'>
This was a slip.
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: Rename `wakers` to `futures` (fmt)</title>
<updated>2023-10-05T15:02:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T15:02:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=153bdfaf7037bac01792f8205599092cd148e174'/>
<id>urn:sha1:153bdfaf7037bac01792f8205599092cd148e174</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: Rename `wakers` to `futures`</title>
<updated>2023-10-05T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T14:46:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d75c473ed7acb2e786a664ed373b8c48d614eea3'/>
<id>urn:sha1:d75c473ed7acb2e786a664ed373b8c48d614eea3</id>
<content type='text'>
This is clearer, I think.
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: Rename `pq` to `unready`</title>
<updated>2023-10-05T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T14:43:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d05d0e26a2442b997256717808b019ccb038b848'/>
<id>urn:sha1:d05d0e26a2442b997256717808b019ccb038b848</id>
<content type='text'>
This is clearer, I think.
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: Expand on advance and task ordering</title>
<updated>2023-10-05T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T12:56:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1e6e2ce689cf39dcf9d3104eef4a1b84f61328dc'/>
<id>urn:sha1:1e6e2ce689cf39dcf9d3104eef4a1b84f61328dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: Clarify/correct comments about invariant</title>
<updated>2023-10-05T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T12:38:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=439d9070ceb18305e80b52360679747c7e160b4e'/>
<id>urn:sha1:439d9070ceb18305e80b52360679747c7e160b4e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: Clarify some things in time_until_next_timeout</title>
<updated>2023-10-05T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T12:03:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=607bc50e822d84f3a4b636efca5f00e6f50ea621'/>
<id>urn:sha1:607bc50e822d84f3a4b636efca5f00e6f50ea621</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: Give formal names to the states</title>
<updated>2023-10-05T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T11:59:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ae22bd748da5b1f848ccdbfb77a9100b5a951cf3'/>
<id>urn:sha1:ae22bd748da5b1f848ccdbfb77a9100b5a951cf3</id>
<content type='text'>
And introduce a table showing the situations.
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: take() the waker when we wake</title>
<updated>2023-10-05T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T11:47:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31934e5b362880eb3213c1bfedaaa81d6ec4b67d'/>
<id>urn:sha1:31934e5b362880eb3213c1bfedaaa81d6ec4b67d</id>
<content type='text'>
We don't need it any more; we won't call wake again.
So, call .wake() rather than .wake_by_ref().
</content>
</entry>
<entry>
<title>tor-rtmock: Provide SimpleTimeProvider: clarify .sleep() innards</title>
<updated>2023-10-03T18:09:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-03T18:08:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1ecf138ac286279cc030ad83a520f7d64a76e3f0'/>
<id>urn:sha1:1ecf138ac286279cc030ad83a520f7d64a76e3f0</id>
<content type='text'>
Making the SleepFuture first means we don't call .wake_any() with the
other invariants violated.  This doesn't actually matter with the code
as it stands, but it's less confusing this way.
</content>
</entry>
</feed>
