CLOCK_* clockid_t value macros

Ulrich Drepper drepper@redhat.com
Fri Oct 18 13:09:00 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland McGrath wrote:

> Is there any problem with defining the CLOCK_PROCESS_CPUTIME_ID and
> CLOCK_THREAD_CPUTIME_ID macros even on the systems that don't support
> them?
> I would like to consolidate the bits/time.h files and this is the only
> actual difference among any of the supported configurations.


In theory it shouldn't be a problem since users have to check
_POSIX_CPUTIME and _POSIX_THREAD_CPUTIME first.  But there is definitely
code out there which will break.  I don't have personally problems with
this.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9sGlw2ijCOnn/RHQRAgk2AJ0V0+mzZx5GRgaOVhxA00amaR5uAgCfUz7t
miCO9JQ1hWNrOJuI5vOxEmw=
=pvYV
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list