rt: Use the correct global change_dir lock
This commit is contained in:
parent
5633a5363b
commit
91f1ab4896
@ -939,12 +939,12 @@ static lock_and_signal change_dir_lock;
|
||||
|
||||
extern "C" CDECL void
|
||||
rust_take_change_dir_lock() {
|
||||
global_args_lock.lock();
|
||||
change_dir_lock.lock();
|
||||
}
|
||||
|
||||
extern "C" CDECL void
|
||||
rust_drop_change_dir_lock() {
|
||||
global_args_lock.unlock();
|
||||
change_dir_lock.unlock();
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user