Jonas Böttiger

Results 13 issues of Jonas Böttiger

Related to #538 - [ ] Tested on all platforms changed - [x] Compilation warnings were addressed - [x] `cargo fmt` has been run on this branch - [x] `cargo...

DS - macos

Since `sync::Mutex` is now `const`-constructible, it can be used for internal statics, removing the need for `sys_common::StaticMutex`. This adds some extra allocations on platforms which need to box their mutexes...

S-waiting-on-author
T-libs

Since `sync::RwLock` is now `const`-constructible, it can be used for internal statics, removing the need for `sys_common::StaticRwLock`. This adds some extra allocations on platforms which need to box their locks...

S-waiting-on-bors
T-libs

This moves the lazy allocation to `sys` (SGX and UNIX). While this leads to a bit more verbosity, it will simplify future improvements by making room in `sys_common` for platform-independent...

S-waiting-on-review
T-libs

S-waiting-on-review
T-libs

Fixes #120147. Instead of manually adding a list of "good" platforms, I've simply made the check unconditional. pthread's mutex is already quite slow on most platforms, so one single well-predictable...

S-waiting-on-review
T-libs
O-unix

Last week, Apple released macOS version 14.4, which introduced a public futex API called [`os_sync_wait_on_address`](https://developer.apple.com/documentation/os/4316531-os_sync_wait_on_address?language=objc) (Apple has failed to include the documentation provided in the defining header `os/os_sync_wait_on_address.h` on its...

S-waiting-on-review
T-libs
O-unix
A-atomic

On Wednesday, the libs-team [discussed](https://rust-lang.zulipchat.com/#narrow/stream/259402-t-libs.2Fmeetings/topic/Meeting.202023-10-25/near/398512745) reorganizing the platform-specific modules inside `std`, namely `sys` and `sys_common` into [a new structure](https://github.com/rust-lang/rust/issues/84187#issuecomment-1774066353). These modules will be merged into one `sys` module with a...

E-help-wanted
C-tracking-issue
T-libs

Feature gate: `#![feature(reentrant_lock)]` This is a tracking issue for `ReentrantLock`, a re-entrant lock useful for avoiding a common type of deadlocks. ### Public API ```rust // std::sync pub struct ReentrantLock...

T-libs-api
C-tracking-issue

`rmx_state` has been removed in https://github.com/apple-oss-distributions/xnu/commit/94d3b452840153a99b38a3a9659680b2a006908e (macOS version 14.4) in favour of an expanded `rmx_filler` field. Just ignore it in CI.

S-waiting-on-review