RE: priorities

1999-05-25 Thread Ladavac Marino
> -Original Message- > From: Doug White [SMTP:dwh...@resnet.uoregon.edu] > Sent: Sunday, May 23, 1999 2:46 AM > To: Doug Rabson > Cc: FreeBSD current Mailing list > Subject: Re: priorities > > On Fri, 21 May 1999, Doug Rabson wrote: > > If you

Re: priorities

1999-05-22 Thread Doug White
On Fri, 21 May 1999, Doug Rabson wrote: > > It sounds like we can loads of haggling about the names there... The > > last one is to take out the dependency on errno being greater than > > zero. > > I would actually quite like to keep the possibility of returning an errno. > It gives the possibili

Re: priorities

1999-05-21 Thread Garrett Wollman
< said: > How do you guarantuee that the errno is positive? Add an assert > somewhere, like checking whether ENXIO >= PRIORITY_FAIL? No, we simply define it to be so. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same woll...@lcs.mit.edu | O Siem / T

Re: priorities

1999-05-21 Thread Doug Rabson
On Fri, 21 May 1999, Bruce Evans wrote: > >> >They just are positive and have always been positive :-) > >> > > >> >Changing that (making errnos negative) would break so much code I don't > >> >even want to think about it. > >> > >> >From errno.h: > >> > >> #ifdef KERNEL > >> /* pseudo-errors re

Re: priorities

1999-05-21 Thread Bruce Evans
>> >They just are positive and have always been positive :-) >> > >> >Changing that (making errnos negative) would break so much code I don't >> >even want to think about it. >> >> >From errno.h: >> >> #ifdef KERNEL >> /* pseudo-errors returned inside kernel to modify return to process */ >> #def

Re: priorities

1999-05-21 Thread Doug Rabson
On Fri, 21 May 1999, Bruce Evans wrote: > >> How do you guarantuee that the errno is positive? Add an assert > >> somewhere, like checking whether ENXIO >= PRIORITY_FAIL? > > > >They just are positive and have always been positive :-) > > > >Changing that (making errnos negative) would break so mu

Re: priorities

1999-05-21 Thread Bruce Evans
>> How do you guarantuee that the errno is positive? Add an assert >> somewhere, like checking whether ENXIO >= PRIORITY_FAIL? > >They just are positive and have always been positive :-) > >Changing that (making errnos negative) would break so much code I don't >even want to think about it.

Re: priorities

1999-05-21 Thread Doug Rabson
On Fri, 21 May 1999, Nick Hibma wrote: > > > #define PRIORITY_FAIL-1 > > > > > > It sounds like we can loads of haggling about the names there... The > > > last one is to take out the dependency on errno being greater than > > > zero. > > > > I would actually quite like to kee

Re: priorities

1999-05-21 Thread Nick Hibma
> > #define PRIORITY_FAIL -1 > > > > It sounds like we can loads of haggling about the names there... The > > last one is to take out the dependency on errno being greater than > > zero. > > I would actually quite like to keep the possibility of returning an errno. > It gives

Re: priorities

1999-05-21 Thread Doug Rabson
On Thu, 20 May 1999, Nick Hibma wrote: > > You set a 'low' priority for the ide match as -100. I suggest we use a > much lower value for that: -1. With USB we have 15 levels already, > spaced ten apart (welcome back BASIC :) makes 150. > > Has anyone come up with a decent set of levels yet,