Cygwin: FIFO: add missing lock
This commit is contained in:
parent
d3a01b7ec2
commit
4f25d82cb1
|
@ -422,7 +422,9 @@ fhandler_fifo::update_shared_handlers ()
|
||||||
set_shared_nhandlers (nhandlers);
|
set_shared_nhandlers (nhandlers);
|
||||||
memcpy (shared_fc_handler, fc_handler, nhandlers * sizeof (fc_handler[0]));
|
memcpy (shared_fc_handler, fc_handler, nhandlers * sizeof (fc_handler[0]));
|
||||||
shared_fc_handler_updated (true);
|
shared_fc_handler_updated (true);
|
||||||
|
owner_lock ();
|
||||||
set_prev_owner (me);
|
set_prev_owner (me);
|
||||||
|
owner_unlock ();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue