httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: threads and errno
Date Sun, 17 Aug 1997 21:08:58 GMT
errno is usually in thread specific data ... either via a macro or via
whatever magical compiler gunk that supports it (i.e. in the nt world
there's magical compiler gunk that hides an indirection). 

Dean

On Sun, 17 Aug 1997, Marc Slemko wrote:

> how is errno handled across threads?
> 
> f = open(...);
> if (errno = asdf) foo;
> 
> What method is used to be sure another thread doesn't mess with errno
> between the two?  Is errno special cased?
> 
> 


Mime
View raw message