X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 11 Sep 2007 22:54:11 +0200 From: Samuel Thibault To: cygwin AT cygwin DOT com Subject: Re: cygrunsrv and pause? Message-ID: <20070911205411.GM4000@interface.famille.thibault.fr> Mail-Followup-To: cygwin AT cygwin DOT com References: <20070911192917 DOT GI4000 AT interface DOT famille DOT thibault DOT fr> <20070911203400 DOT GA14421 AT ednor DOT casa DOT cgf DOT cx> <20070911204436 DOT GL4000 AT interface DOT famille DOT thibault DOT fr> <20070911205014 DOT GB14421 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070911205014.GB14421@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.12-2006-07-14 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Christopher Faylor, le Tue 11 Sep 2007 16:50:14 -0400, a écrit : > On Tue, Sep 11, 2007 at 10:44:37PM +0200, Samuel Thibault wrote: > >Christopher Faylor, le Tue 11 Sep 2007 16:34:00 -0400, a ?crit : > >> On Tue, Sep 11, 2007 at 09:29:17PM +0200, Samuel Thibault wrote: > >> >Could cygrunsrv have an option to set signals that should be sent on net > >> >pause / net continue? > >> > >> Dunno. Does it seem feasible after looking at the source code? > > > >The issue I can see is the feedback from the application, telling "ok, > >I'm now paused". One way could to use signals again, by using siginfo > >in the SIGPAUSE handler in the application for knowing who to send a > >signal back. The same signal could be used for both ways for instance. > > A quick grep does not unearth anything with the term "SIGPAUSE" or > "siginfo" in the cygrunsrv sources. You seem to be talking about some > other sources. Indeed, I'm talking about what _could_ be implemented. > My thinly veiled suggestion was that you should take a stab at doing > this yourself by inspecting the cygrunsrv sources. Unfortunately I don't have the time to do it right now. Next month, maybe. Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/