This is the mail archive of the cygwin@cygwin.com 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: Process states in cygwin ?


Why? 

rlc

On Wed, 26 Feb 2003, Sergey Okhapkin wrote:

> Probably
> 
>     else
>        status = 'R';  //running
> 
> would be a good idea then?
> 
> Sergey Okhapkin
> Somerset, NJ
> ----- Original Message -----
> From: "Ronald Landheer-Cieslak" <ronald at landheer dot com>
> To: <jurgen dot defurne at philips dot com>
> Cc: <cygwin at cygwin dot com>
> Sent: Wednesday, February 26, 2003 6:59 AM
> Subject: Re: Process states in cygwin ?
> 
> 
> > "Use the Source, Duke!"
> >
> >       if (p->process_state & PID_STOPPED)
> >         status = 'S';
> >       else if (p->process_state & PID_TTYIN)
> >         status = 'I';
> >       else if (p->process_state & PID_TTYOU)
> >         status = 'O';
> >
> > i.e.: S is stopped, I is input, O is output.
> >
> > (I should say, though, that the last time I answered this questions I
> > looked at the source cross-eyed.. but cgf corrected me :)
> >
> > rlc
> >
> > On Wed, 26 Feb 2003 jurgen dot defurne at philips dot com wrote:
> >
> > > Hello,
> > >
> > > Can anybody tell me what the meaning is of the process states
> > > 'O' and 'I' when I do ps in a shell ?
> > >
> > > Jurgen
> > >
> > > --
> > > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > > Bug reporting:         http://cygwin.com/bugs.html
> > > Documentation:         http://cygwin.com/docs.html
> > > FAQ:                   http://cygwin.com/faq/
> > >
> >
> >
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> >
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]