This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Documenting MT-safe vs. MT-unsafe.


Peng,

The work that you are doing documenting multithreading
safety in the linux kernel man pages is excellent, and
very useful. Thank you for working on this.

Michael, Peng,

At present I am a little worried that glibc is going
to document what we want to be true e.g. MT-unsafe,
but that the linux kernel man pages project is going
to document what is actually implemented e.g. MT-safe.
This may lead users to believe functions are safe 
when they are not guaranteed to be so.

The other problem is that the two documents might
diverge and this information is very important.

What can we do to keep the two documents in sync?

When Alex completes his project we'll have MT-safety
data (with a series of exceptions) for almost all
of the glibc functions. Could we use that data to
drive the generation of the attributes in the 
linux kernel man pages?

Comments?

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]