[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: threadedness



This is certainly an issue I've run up against trying to
build LSB apps against system header files, and which
drove me to try to use the LSB headers instead (and thus
my mini-flood of gripes about missing networking interfaces).
Current implementations assume a threaded model.


> -----Original Message-----
> From: anderson@freestandards.org [mailto:anderson@freestandards.org]
> Sent: Tuesday, December 18, 2001 6:56 PM
> To: lsb-discuss@lists.linuxbase.org
> Subject: threadedness
> 
> 
> 
> 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
> 
> anderson@metrolink.com                         
> anderson@freestandards.org
> Metro Link, Inc.                               Free Standards Group
>                                                Linux Standards Base
> 

> -- 
> To UNSUBSCRIBE, email to lsb-discuss-request@lists.linuxbase.org
> with subject of "unsubscribe". Trouble? Email 
> listmaster@lists.linuxbase.org
> 



Reply to: