Follow-up Comment #7, bug #60774 (project make):
The windows code, which passes down the semaphore to children is reused to
pass down the fd on unix.
> The way you propose to reuse the Windows code brings that Windows-specific
stuff back into view.
it is not clear to me what windows specific stuff you mean.
Let us go over it?
record_sync_mutex reads the value of the fd from the env variable. Reused
between unix and windows.
prepare_mutex_handle_string stores the value of the fd in makeflags. Reused
between unix and windows.
create_mutex is modified to return the value of the semaphore. Still windows
specific.
mutex_handle - global variable. Removed. Instead of mutex_handle and
sync_handle, there is only sync_handle.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60774>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/