You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by rb...@covalent.net on 2000/04/19 20:05:32 UTC
APR_ENOSTAT error code
I am trying to reduce the number of error codes in APR, and ENOSTAT is one
that made sense when APR was first starting out, but no longer makes sense
for it's original purpose. I would like to remove it, but there is one
case where it is still used. In the OS/2 threadproc code, in
ap_thread_join code, we return APR_ENOSTAT. What does this signify in
this case? Is there a better error value that we can return?
Ryan
_______________________________________________________________________________
Ryan Bloom rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------
Re: APR_ENOSTAT error code
Posted by Brian Havard <br...@kheldar.apana.org.au>.
On Wed, 19 Apr 2000 14:05:32 -0400 (EDT), rbb@covalent.net wrote:
>I am trying to reduce the number of error codes in APR, and ENOSTAT is one
>that made sense when APR was first starting out, but no longer makes sense
>for it's original purpose. I would like to remove it, but there is one
>case where it is still used. In the OS/2 threadproc code, in
>ap_thread_join code, we return APR_ENOSTAT. What does this signify in
>this case? Is there a better error value that we can return?
Hmmm, I'm not sure why I picked APR_ENOSTAT. It's returned when attempting
to 'join' a detached thread. Probably should be something like EINVAL.
--
______________________________________________________________________________
| Brian Havard | "He is not the messiah! |
| brianh@kheldar.apana.org.au | He's a very naughty boy!" - Life of Brian |
------------------------------------------------------------------------------