Skip to content

Commit fa6e0b4

Browse files
committed
Fix pulldown migration warnings in parking_lot_core
Lists now require an empty line before them, and a link can no longer be split on multiple lines. See rust-lang/rust#44229.
1 parent 9e20fec commit fa6e0b4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

core/src/lib.rs

+8-7
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@
1111
//! # The parking lot
1212
//!
1313
//! To keep synchronization primitives small, all thread queuing and suspending
14-
//! functionality is offloaded to the *parking lot*. The idea behind this is
15-
//! based on the Webkit [`WTF::ParkingLot`]
16-
//! (https://webkit.org/blog/6161/locking-in-webkit/) class, which essentially
17-
//! consists of a hash table mapping of lock addresses to queues of parked
18-
//! (sleeping) threads. The Webkit parking lot was itself inspired by Linux
19-
//! [futexes](http://man7.org/linux/man-pages/man2/futex.2.html), but it is more
20-
//! powerful since it allows invoking callbacks while holding a queue lock.
14+
//! functionality is offloaded to the *parking lot*. The idea behind this is based
15+
//! on the Webkit [`WTF::ParkingLot`](https://webkit.org/blog/6161/locking-in-webkit/)
16+
//! class, which essentially consists of a hash table mapping of lock addresses
17+
//! to queues of parked (sleeping) threads. The Webkit parking lot was itself
18+
//! inspired by Linux [futexes](http://man7.org/linux/man-pages/man2/futex.2.html),
19+
//! but it is more powerful since it allows invoking callbacks while holding a
20+
//! queue lock.
2121
//!
2222
//! There are two main operations that can be performed on the parking lot:
23+
//!
2324
//! - *Parking* refers to suspending the thread while simultaneously enqueuing it
2425
//! on a queue keyed by some address.
2526
//! - *Unparking* refers to dequeuing a thread from a queue keyed by some address

0 commit comments

Comments
 (0)