Cygwin: FIFO: add missing lock

This commit is contained in:
Ken Brown 2020-07-15 16:13:47 -04:00
parent d3a01b7ec2
commit 4f25d82cb1
1 changed files with 2 additions and 0 deletions

View File

@ -422,7 +422,9 @@ fhandler_fifo::update_shared_handlers ()
set_shared_nhandlers (nhandlers);
memcpy (shared_fc_handler, fc_handler, nhandlers * sizeof (fc_handler[0]));
shared_fc_handler_updated (true);
owner_lock ();
set_prev_owner (me);
owner_unlock ();
return 0;
}