X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 11 Sep 2007 22:44:37 +0200 From: Samuel Thibault To: cygwin AT cygwin DOT com Subject: Re: cygrunsrv and pause? Message-ID: <20070911204436.GL4000@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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070911203400.GA14421@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: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. 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/