<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src/task.rs, branch arti-v1.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-01-30T08:39:30Z</updated>
<entry>
<title>fix: fix typos</title>
<updated>2025-01-30T08:39:30Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2025-01-30T08:39:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6371829c976f6a5b77d46bf977f369a915f2ced3'/>
<id>urn:sha1:6371829c976f6a5b77d46bf977f369a915f2ced3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: drop_reentrancy test: Run under miri too</title>
<updated>2025-01-15T10:34:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-01-07T14:33:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eca4022290285850360d52af5eca1b3a37b6816d'/>
<id>urn:sha1:eca4022290285850360d52af5eca1b3a37b6816d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Explicitly manage the lifetime of the future</title>
<updated>2025-01-15T10:34:07Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-01-02T15:47:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ae4ede76614985a19a3245bbc4cfc7e6a6340b84'/>
<id>urn:sha1:ae4ede76614985a19a3245bbc4cfc7e6a6340b84</id>
<content type='text'>
Previously, if r is Pending, `fut` is moved out of (stored in
`task.fut`), whereas if r is Ready, it is retained and then dropped at
the end of the loop iteration.  This is quite subtle, and involves
`fut` being in a "maybe moved out of" state (which cannot be
represented in Rust's surface type system) after the block with the
`data` lock.

Let's write code that more clearly ensures that the compiler DTRT.
</content>
</entry>
<entry>
<title>tor-rtmock: Add a test case for Future drop entrancy</title>
<updated>2025-01-15T10:34:06Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-01-02T16:11:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=11699a9da14098cf8212a95de66ac2a0e0bae25c'/>
<id>urn:sha1:11699a9da14098cf8212a95de66ac2a0e0bae25c</id>
<content type='text'>
This passes right now, but only because the lifetime of the `fut`
variable in `execute_until_first_stall` happens to be right.
</content>
</entry>
<entry>
<title>tor-rtmock: Avoid misleading task dumps by careful drop sequencing</title>
<updated>2025-01-15T10:33:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-01-02T16:16:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97db02abf3681a7baa49463549baffae6143e9ed'/>
<id>urn:sha1:97db02abf3681a7baa49463549baffae6143e9ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Add some more tracing / debug output</title>
<updated>2025-01-15T10:33:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-12-18T14:43:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=99f1ba647f08b20e7576a619c0333ad7f6f030d9'/>
<id>urn:sha1:99f1ba647f08b20e7576a619c0333ad7f6f030d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Explain a difficulty with test trace output</title>
<updated>2025-01-15T10:33:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-12-18T14:39:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab1399d100a9ac75804d605fa4841955476520eb'/>
<id>urn:sha1:ab1399d100a9ac75804d605fa4841955476520eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtcompat: Use GAT instead of RPIT in SpawnBlocking trait.</title>
<updated>2025-01-07T18:27:14Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-12-19T19:30:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=665d3145a0db86bd1fbd7549b64e21a160c45ff1'/>
<id>urn:sha1:665d3145a0db86bd1fbd7549b64e21a160c45ff1</id>
<content type='text'>
Due to the limitations on RPIT, it's better to use a GAT for now.
</content>
</entry>
<entry>
<title>tor-rtmock: Add task names for spawn_obj and spawn_blocking.</title>
<updated>2025-01-07T18:26:28Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-12-19T18:30:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a7b0f5baab504ec16eb0b8b32b7f8f78c97d1366'/>
<id>urn:sha1:a7b0f5baab504ec16eb0b8b32b7f8f78c97d1366</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtcompat: Add spawn_blocking to Runtime trait.</title>
<updated>2025-01-07T18:26:28Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-12-18T20:57:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5f91a2b5fa6f343a51cc325ee7a9519f7523d14c'/>
<id>urn:sha1:5f91a2b5fa6f343a51cc325ee7a9519f7523d14c</id>
<content type='text'>
This adds a new SpawnBlocking trait, which exposes the spawn_blocking
function that tokio, async-std, and other runtimes have.
</content>
</entry>
</feed>
