Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Starter.exe

Hi!

Thanks for the offer, but let me play with it some. I think that a cygwin starter for cygwin apps is going to be the most expedient thing. At the moment we also have the NT4 requirement and it's going to be faster to try the geek solution than go lobby marketing to get rid of NT4.

I've got a cygstarter.exe compiling under cygwin, I just need to change the GenerateConsoleCtrlEvents over to raise'es and I am betting it will work.

I'll send mail if I've hit the wall and just do not know what to do. Thanks for the pointer to the CreateJobObject call. I'll look at it if this does not work right.

Thanks!
-Chris

At 01:13 PM 2/4/2003 -0500, you wrote:
If you are interested in this issue and are not limited with NT4, I can try
to build  for you version without starter.

Alex Chapiro

----- Original Message -----
From: "Chris Songer" <songer@xxxxxxxxxxxxx>
To: <cdt-dev@xxxxxxxxxxx>
Sent: Tuesday, February 04, 2003 12:55 PM
Subject: Re: [cdt-dev] Starter.exe


> On final comment. We know from personal experience that this area of
Cygwin
> has been subject to great change. If this is working for you, great! I'd
> let sleeping dogs lie.
>
> It just so happens that we are doing some relatively complex things with
> cygwin and are very attached to our cygwin version which leaves me (the
> fellow doing what no one else wants to) having to figure out how to make
it
> work.:) --cms
>
> At 08:03 AM 2/4/2003 -0500, you wrote:
> >Actually in Win priority range for the threads has 31 level.
> >Starter exists because of GenerateConsoleCtrlEvent causes Ctrl event
(Ctrl-C
> >for example) to come to all process in the target group. So using this
> >function in spawner causes that javaw process itself gets this event.
> >starter is a leader of new group and protects javaw.
> >I don't see any problem to transmit priority setting or any other command
> >through starter to launched process.
> >I'll check if in cygwin Ctrl-C doesn't work. So far I haven't gotten any
> >complains about that. Thanks for the information.
> >
> >Alex Chapiro
> >
> >----- Original Message -----
> >From: "Chris Songer" <songer@xxxxxxxxxxxxx>
> >To: <cdt-dev@xxxxxxxxxxx>
> >Sent: Monday, February 03, 2003 11:04 PM
> >Subject: [cdt-dev] Starter.exe
> >
> >
> > > Hi!
> > >
> > > The real challenge with all of this setpri stuff is the starter.exe
for
> >NT.
> > > Everything else is just easy. Does anyone have any background on why
> > > starter.exe is there? Is it because you need to have something to be
the
> > > head of a process group for NT's GenerateConsoleCtrlEvent to work?
That's
> > > my suspicion.
> > >
> > > If so, it does not appear to interoperate well with cygwin and I think
it
> > > will only work for Ctrl events on non-cygwin apps. So not only is it
> > > screwing me over for setting priority ( going to have to create an
event
> >to
> > > send it since the pid held in spawner.dll is for starter and not what
> > > starter started ) but it's ALSO not working for cygwin apps since
cygwin
> > > has to be the process group leader before it will turn a CTRL_C_EVENT
into
> > > a SIGINT.
> > >
> > > Thanks!
> > > -Chris
> > >
> > > _______________________________________________
> > > cdt-dev mailing list
> > > cdt-dev@xxxxxxxxxxx
> > > http://dev.eclipse.org/mailman/listinfo/cdt-dev
> > >
> >
> >_______________________________________________
> >cdt-dev mailing list
> >cdt-dev@xxxxxxxxxxx
> >http://dev.eclipse.org/mailman/listinfo/cdt-dev
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
>

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top