bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Improvement suggestion: listen to signals to adjust number of jobs


From: Henrik Carlqvist
Subject: Re: Improvement suggestion: listen to signals to adjust number of jobs
Date: Tue, 23 May 2017 22:10:55 +0200

On Tue, 23 May 2017 22:31:14 +0300
Eli Zaretskii <address@hidden> wrote:

> > From: Henrik Carlqvist <address@hidden>
> > My intention has been to make the patch work with
> > both Unix and Windows, but unfortunately I have no Windows machine to
> > test with. I'm not even sure if Windows supports bsd signals. If not,
> > my changes to w32/w32os.c should better be undone.

> There are no signals on Windows, not in the Posix sense.  Certainly
> there is nothing similar to SIGUSR2 there.

Thanks for the information! To this message I attach an updated patch
where no attempt is made to modify w32os.c.
 
> If we want to support this feature on Windows, we need to use some
> other mechanism, like maybe the Ctrl-BREAK handler?

Unfortunately I will not be able to give much help in suggesting how this
should be implemented on Windows, but please feel free to improve my patch
so that it also becomes useful on Windows! If Windows lack SIGUSR* I
suppose that make does not support toggling of debug output on Windows?

regards Henrik

Attachment: signal_num_jobs3.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]