auto merge of #8143 : brson/rust/change-dir-lock, r=luqmana
This commit is contained in:
commit
5d409ccd30
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue