<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sync/mpmc/array.rs, branch lcnr/rustc-dev-guide</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-04-26T23:18:08+00:00</updated>
<entry>
<title>use generic Atomic type where possible</title>
<updated>2025-04-26T23:18:08+00:00</updated>
<author>
<name>Christopher Durham</name>
<email>cad97@cad97.com</email>
</author>
<published>2024-09-19T04:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d93f6056824c338751f19356d33bb61ce818749'/>
<id>urn:sha1:4d93f6056824c338751f19356d33bb61ce818749</id>
<content type='text'>
in core/alloc/std only for now, and ignoring test files

Co-authored-by: Pavel Grigorenko &lt;GrigorenkoPV@ya.ru&gt;
</content>
</entry>
<entry>
<title>std: allow after-main use of synchronization primitives</title>
<updated>2024-11-18T16:55:36+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-11-07T16:13:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5a856b82f3a1bf335e0e62d92c800d8436977af1'/>
<id>urn:sha1:5a856b82f3a1bf335e0e62d92c800d8436977af1</id>
<content type='text'>
By creating an unnamed thread handle when the actual one has already been destroyed, synchronization primitives using thread parking can be used even outside the Rust runtime.

This also fixes an inefficiency in the queue-based `RwLock`: if `thread::current` was not initialized yet, it will create a new handle on every parking attempt without initializing `thread::current`. The private `current_or_unnamed` function introduced here fixes this.
</content>
</entry>
<entry>
<title>library: consistently use American spelling for 'behavior'</title>
<updated>2024-10-25T10:02:47+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-10-25T10:01:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=854e3c43e005c992542a80bea9bbe16230470362'/>
<id>urn:sha1:854e3c43e005c992542a80bea9bbe16230470362</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>std: Unsafe-wrap std::sync</title>
<updated>2024-07-15T00:59:37+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2024-07-15T00:59:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e32460276cb146b665c0c18b50bf6ea7764c693b'/>
<id>urn:sha1:e32460276cb146b665c0c18b50bf6ea7764c693b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: leak remaining messages in bounded channel if message destructor panics</title>
<updated>2023-03-14T15:42:34+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2023-03-14T15:42:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34aa87292c5cd45c88a72235dad6e973a9f2b62f'/>
<id>urn:sha1:34aa87292c5cd45c88a72235dad6e973a9f2b62f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: disconnect senders before discarding messages</title>
<updated>2023-02-26T10:57:27+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2023-02-26T10:57:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4e9e465bd4cbdfe3946ea6f0ff4786f2f495a020'/>
<id>urn:sha1:4e9e465bd4cbdfe3946ea6f0ff4786f2f495a020</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: drop all messages in bounded channel when destroying the last receiver</title>
<updated>2023-02-17T14:47:58+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2023-02-17T14:47:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=746331edf3a6d055859ed0ed70dde1aa883c517d'/>
<id>urn:sha1:746331edf3a6d055859ed0ed70dde1aa883c517d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove optimistic spinning from `mpsc::SyncSender`</title>
<updated>2023-01-14T05:36:51+00:00</updated>
<author>
<name>Ibraheem Ahmed</name>
<email>ibraheem@ibraheem.ca</email>
</author>
<published>2023-01-14T05:29:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ab20f8d5ba164510a4a782bcf305b7005bc88b15'/>
<id>urn:sha1:ab20f8d5ba164510a4a782bcf305b7005bc88b15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rework and document backoff behavior of `sync::mpsc`</title>
<updated>2023-01-12T02:29:14+00:00</updated>
<author>
<name>Ibraheem Ahmed</name>
<email>ibraheem@ibraheem.ca</email>
</author>
<published>2023-01-12T02:29:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8917e9936282f855a08808ed8874c4117210da6e'/>
<id>urn:sha1:8917e9936282f855a08808ed8874c4117210da6e</id>
<content type='text'>
</content>
</entry>
</feed>
