This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygrunsrv and pause?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]