X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 11 Sep 2007 22:44:37 +0200
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: cygwin@cygwin.com
Subject: Re: cygrunsrv and pause?
Message-ID: <20070911204436.GL4000@interface.famille.thibault.fr>
Mail-Followup-To: cygwin@cygwin.com
References: <20070911192917.GI4000@interface.famille.thibault.fr> <20070911203400.GA14421@ednor.casa.cgf.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

