delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/11/16:54:34

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 <samuel DOT thibault AT ens-lyon DOT org>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019