Should __clockid_t be used instead of clockid_t in pthread.h?

Garrett Wollman wollman at csail.mit.edu
Mon Mar 19 18:09:46 UTC 2012


<<On Mon, 19 Mar 2012 14:34:51 -0300, Raphael Kubo da Costa <rakuco at freebsd.org> said:

> Thank you for the detailed explanation. I've filed a bug in glib's
> Bugzilla [1] with a proposed fix that should work on both FreeBSD and
> Linux.

Unfortunately, your proposed fix has the result of requesting a
*strict* POSIX environment, so applications that depend on system
interfaces that were not in the 1993 threading amendments will no
longer compile.  Maybe this doesn't matter in the specific case of
your testing framework, but it's not a universally correct solution.

-GAWollman



More information about the freebsd-threads mailing list