Source-Changes archive

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

Re: CVS commit: src/lib/libpthread



"Nathan J. Williams" <nathanw%wasabisystems.com@localhost> writes:
> Christos Zoulas <christos%netbsd.org@localhost> writes:
> 
> > - add mock implementation of the missing stack functions
> > XXX: we need to do this right [i.e. actually get and set sizes and 
> > addresses]
> > but the current stack setup makes this a bit complicated.
> 
> I'm dubious about this. Applications that think they want to fiddle
> with the stack size are usually wrong, and applications that think
> they want to set the stack address are always wrong. Historically, the
> functions were only included in the pthread standard with the
> assurance that they would be optional; we can consider programs that
> require them to be broken.

Well, if we do that, then we shouldn't have them in the library at all
or people will falsely think they should work...

-- 
Perry E. Metzger                perry%piermont.com@localhost



Home | Main Index | Thread Index | Old Index