auto merge of #8143 : brson/rust/change-dir-lock, r=luqmana
This commit is contained in:
commit
5d409ccd30
@ -932,12 +932,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…
x
Reference in New Issue
Block a user