<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src, branch arti-v1.0.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-09-07T13:22:38Z</updated>
<entry>
<title>`TaskSchedule`: give error on `sleep*()` if last handle is dropped</title>
<updated>2022-09-07T13:22:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-09-07T13:22:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=86e479ae1360a0cea3ad8020653c59f6aa52d338'/>
<id>urn:sha1:86e479ae1360a0cea3ad8020653c59f6aa52d338</id>
<content type='text'>
This fixes an busy-loop.

When the last `TaskHandle` on a `TaskSchedule` is dropped, the
schedule is permanently canceled: whatever operation it was
scheduling should no longer be performed.  But our code was broken:
the `sleep()` and `sleep_until_wallclock()` functions don't verify
whether the handles are dropped or not.

This breakage caused an CPU-eating busy-loop in
`sleep_until_wallclock`.

With this patch, we now return a `Result&lt;(), SleepError&gt;` from these
functions.

Fixes #572.
</content>
</entry>
<entry>
<title>add feature annotation not added by doc_auto_cfg</title>
<updated>2022-08-24T16:22:41Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-08-18T00:04:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=426a59b2ba591e20a13c568d665310c55e2f8e53'/>
<id>urn:sha1:426a59b2ba591e20a13c568d665310c55e2f8e53</id>
<content type='text'>
</content>
</entry>
<entry>
<title>enable doc_auto_cfg feature on every crate when documenting for docs.rs</title>
<updated>2022-08-24T16:22:41Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-08-17T19:13:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7f939fa4804b3c934343141b79e8e2ded5fe0b0d'/>
<id>urn:sha1:7f939fa4804b3c934343141b79e8e2ded5fe0b0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtcompat: Require that TcpStream be Send</title>
<updated>2022-08-15T13:47:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-25T11:11:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=740f306cb0a09274d67566c34cceaa9e63a3e66f'/>
<id>urn:sha1:740f306cb0a09274d67566c34cceaa9e63a3e66f</id>
<content type='text'>
The lack of this seems to have been an oversight.
</content>
</entry>
<entry>
<title>tor-rtcompat: s/micros/millis inside a flaky test</title>
<updated>2022-07-26T14:01:03Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-07-26T14:01:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e0c4e37d2b2c714207ce83032766f27fde8ad832'/>
<id>urn:sha1:e0c4e37d2b2c714207ce83032766f27fde8ad832</id>
<content type='text'>
The other tests wait for 100 milliseconds; this one waits for 100
*microseconds* for some reason, which meant it was understandably flaky
if run on anything less than perfect conditions (arti#515).

This is probably a typo, so just change it.

fixes arti#515
</content>
</entry>
<entry>
<title>Run maint/add_warning crates/*/src/{lib,main}.rs</title>
<updated>2022-06-23T18:15:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-23T18:15:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=589c6e52bb49ccfe6c0ad9d18d6b994978e46c6c'/>
<id>urn:sha1:589c6e52bb49ccfe6c0ad9d18d6b994978e46c6c</id>
<content type='text'>
Update all lint blocks
</content>
</entry>
<entry>
<title>Remove rustls from tor-rtcompat/full</title>
<updated>2022-06-16T12:45:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-16T12:45:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19679a6f13e68c446727a067aaf49a5303d4ab0c'/>
<id>urn:sha1:19679a6f13e68c446727a067aaf49a5303d4ab0c</id>
<content type='text'>
This is another consequence of the `ring` license issue; see #493.
</content>
</entry>
<entry>
<title>Merge branch 'dormant_directory' into 'main'</title>
<updated>2022-06-13T13:59:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-13T13:59:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d44dd6f44fb6a1831affd6757132b189b4109323'/>
<id>urn:sha1:d44dd6f44fb6a1831affd6757132b189b4109323</id>
<content type='text'>
Use TaskSchedule to sleep in directory bootstrapping

Closes #497

See merge request tpo/core/arti!571</content>
</entry>
<entry>
<title>TaskSchedule: Add a sleep_until_wallclock method too.</title>
<updated>2022-06-10T17:59:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-07T16:33:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=947bbe6fe76059e120c2a46ca213476f6564cc97'/>
<id>urn:sha1:947bbe6fe76059e120c2a46ca213476f6564cc97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rt-compat: Make all the individual runtime traits Clone+Send etc.</title>
<updated>2022-06-08T10:24:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-06T17:49:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ba3b26842254cfd9033ea37b44b746895bcbd02'/>
<id>urn:sha1:3ba3b26842254cfd9033ea37b44b746895bcbd02</id>
<content type='text'>
This will make it much more convenient for code that only wants one of
these traits (or a subset of them).  This is a good thing to support
because it will allow us to use a ZST in places that do not need an
actual async runtime handle (typically, the runtime handle is needed
only for spawn).
</content>
</entry>
</feed>
