Skip to content

Commit ba66e13

Browse files
authored
test: use parking_lot::Mutex for FORK_MTX (#2372)
1 parent b6c55ad commit ba66e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fn read_exact<Fd: AsFd>(f: Fd, buf: &mut [u8]) {
5959

6060
/// Any test that creates child processes must grab this mutex, regardless
6161
/// of what it does with those children.
62-
pub static FORK_MTX: std::sync::Mutex<()> = std::sync::Mutex::new(());
62+
pub static FORK_MTX: Mutex<()> = Mutex::new(());
6363
/// Any test that changes the process's current working directory must grab
6464
/// the RwLock exclusively. Any process that cares about the current
6565
/// working directory must grab it shared.

0 commit comments

Comments
 (0)