◐ Shell
clean mode source ↗

Add monitoring lock reinit and use raw() accessor by youknowone · Pull Request #7335 · RustPython/RustPython

Add missing reinit_mutex_after_fork for vm.state.monitoring
PyMutex in reinit_locks_after_fork.

Use Mutex::raw() accessor in reinit_parking_lot_mutex instead
of pointer cast from struct start for layout safety.

@youknowone marked this pull request as ready for review

March 3, 2026 16:29

youknowone added a commit to youknowone/RustPython that referenced this pull request

Mar 22, 2026
Add missing reinit_mutex_after_fork for vm.state.monitoring
PyMutex in reinit_locks_after_fork.

Use Mutex::raw() accessor in reinit_parking_lot_mutex instead
of pointer cast from struct start for layout safety.