rt: Use the correct global change_dir lock
This commit is contained in:
parent
5633a5363b
commit
91f1ab4896
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue