Hi Jeff,
> if (status==0) {
> this->processInProg = 0;
> return;
> }
> else if (status<0) {
> if (SOCKERRNO != SOCK_EINTR) {
> fprintf(stderr,
> "fdManager: select failed because errno=%d=\"%s\"\n",
> SOCKERRNO, SOCKERRSTR);
> }
> this->processInProg = 0;
> return;
> }
This was exactly how I fixed it to begin with but then discovered that I
got into an infinite loop where select would always return a bad status
complaining about a bad file-descriptor. Zeroing the fd sets on bad status
got rid of this problem. But I'll continue to watch out for it.
Also, as you know, I've modified our fdManager.cc to use VMS event flags
so that I can wait on a bunch of event flags (one for the timers, one for
the select, and one for my VMS mailbox) instead of being stuck in
select (I added select qios that use an AST to set the select event flag)
so I could still have an outstanding bug.
>I am working my way down through my mail and hope to get to your
>other messages (and many others from the rest of the collaboration) soon.
Thanks Jeff. I know you get a lot of interruptions from us all!
Stephanie
- Replies:
- RE: fdManager.cc question Jeff Hill
- Navigate by Date:
- Prev:
RE: fdManager.cc question Jeff Hill
- Next:
Tornado on HPUX - Base config bug Ralph Lange
- Index:
1994
1995
1996
1997
1998
<1999>
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: fdManager.cc question Jeff Hill
- Next:
RE: fdManager.cc question Jeff Hill
- Index:
1994
1995
1996
1997
1998
<1999>
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|