|
|
Log in / Subscribe / Register

Locking

Locking

Posted Oct 5, 2024 14:37 UTC (Sat) by slanterns (guest, #173849)
In reply to: Locking by tialaramex
Parent article: Resources for learning Rust for kernel development

> The lack of "unlock" has led to proposals to give Rust's Mutex<T> type an unlock method.

https://github.com/rust-lang/rust/issues/81872#issuecomme...

It was once added to the standard library as an experiment, and later withdrawn since the libs-api team thought it's better to just use `drop`.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds