I agree with Stuart that errno should follow a threaded model, because the LSB
does specify threads.  Also, there are community efforts to reduce the amount of
exceptions on Linux to the beloved :-) pthreads standard; therefore,
strengthening the need of a threaded model for errno.

http://www.linuxbase.org/spec/gLSB/gLSB/libpthread.html

Any objections?

George (gk4)

[EMAIL PROTECTED] wrote:
> 
> Another issue that has come up as a result the 1.1 work, is wether we should
> assume a threaded model or not. In particular, this affects errno, and 
> h_errno,
> both of which are simply macros to hide a function that obtains the thread
> specific values. The functions behind these macros have been added. If we
> assume a threaded model, then errno and h_errno are no longer interfaces, but
> become preprocessor symbols instead.
> 
>         #define errno (*_errno_location())
> 
> Since we are specifying pthreads, I think that we should assume a threaded
> model, provide these symbols as #defines instead of externs.
> 
> Opinions?
> 
>                                 Stuart
> 
> [EMAIL PROTECTED]                         [EMAIL PROTECTED]
> Metro Link, Inc.                               Free Standards Group
>                                                Linux Standards Base
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with subject of "unsubscribe". Trouble? Email [EMAIL PROTECTED]

-- 
George Kraft IV
[EMAIL PROTECTED]

Reply via email to