mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Update.
* sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove CLOCK_MONOTONIC. * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise. * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
This commit is contained in:
parent
75dbc100bf
commit
d01fe03296
@ -1,5 +1,10 @@
|
|||||||
2000-09-26 Ulrich Drepper <drepper@redhat.com>
|
2000-09-26 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
|
||||||
|
CLOCK_MONOTONIC.
|
||||||
|
* sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
|
||||||
|
* sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
|
* sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
|
||||||
|
|
||||||
2000-09-26 Jakub Jelinek <jakub@redhat.com>
|
2000-09-26 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
@ -298,15 +298,15 @@ adequately are a thing of the past.
|
|||||||
|
|
||||||
One final comment about the choice of the wide character representation
|
One final comment about the choice of the wide character representation
|
||||||
is necessary at this point. We have said above that the natural choice
|
is necessary at this point. We have said above that the natural choice
|
||||||
is using Unicode or @w{ISO 10646}. This is not specified in any
|
is using Unicode or @w{ISO 10646}. This is not required, but at least
|
||||||
standard, though. The @w{ISO C} standard does not specify anything
|
encouraged, by the @w{ISO C} standard. The standard defines at least a
|
||||||
specific about the @code{wchar_t} type. There might be systems where
|
macro @code{__STDC_ISO_10646__} that is only defined on systems where
|
||||||
the developers decided differently. Therefore one should as much as
|
the @code{wchar_t} type encodes @w{ISO 10646} characters. If this
|
||||||
possible avoid making assumption about the wide character representation
|
symbol is not defined one should as much as possible avoid making
|
||||||
although GNU systems will always work as described above. If the
|
assumption about the wide character representation. If the programmer
|
||||||
programmer uses only the functions provided by the C library to handle
|
uses only the functions provided by the C library to handle wide
|
||||||
wide character strings there should not be any compatibility problems
|
character strings there should not be any compatibility problems with
|
||||||
with other systems.
|
other systems.
|
||||||
|
|
||||||
@node Charset Function Overview
|
@node Charset Function Overview
|
||||||
@section Overview about Character Handling Functions
|
@section Overview about Character Handling Functions
|
||||||
|
@ -47,7 +47,6 @@ static long int nsec;
|
|||||||
#define EXTRA_CLOCK_CASES \
|
#define EXTRA_CLOCK_CASES \
|
||||||
case CLOCK_PROCESS_CPUTIME_ID: \
|
case CLOCK_PROCESS_CPUTIME_ID: \
|
||||||
case CLOCK_THREAD_CPUTIME_ID: \
|
case CLOCK_THREAD_CPUTIME_ID: \
|
||||||
case CLOCK_MONOTONIC: \
|
|
||||||
{ \
|
{ \
|
||||||
if (__builtin_expect (nsec == 0, 0)) \
|
if (__builtin_expect (nsec == 0, 0)) \
|
||||||
{ \
|
{ \
|
||||||
|
@ -46,7 +46,6 @@ static unsigned long long int freq;
|
|||||||
#define EXTRA_CLOCK_CASES \
|
#define EXTRA_CLOCK_CASES \
|
||||||
case CLOCK_PROCESS_CPUTIME_ID: \
|
case CLOCK_PROCESS_CPUTIME_ID: \
|
||||||
case CLOCK_THREAD_CPUTIME_ID: \
|
case CLOCK_THREAD_CPUTIME_ID: \
|
||||||
case CLOCK_MONOTONIC: \
|
|
||||||
{ \
|
{ \
|
||||||
unsigned long long int tsc; \
|
unsigned long long int tsc; \
|
||||||
\
|
\
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
/* Additional definitions for the x86 version. */
|
/* Additional definitions for the x86 version. */
|
||||||
#define CLOCK_P(clock) \
|
#define CLOCK_P(clock) \
|
||||||
(clock) != CLOCK_PROCESS_CPUTIME_ID \
|
(clock) != CLOCK_PROCESS_CPUTIME_ID \
|
||||||
&& (clock) != CLOCK_THREAD_CPUTIME_ID \
|
&& (clock) != CLOCK_THREAD_CPUTIME_ID
|
||||||
&& (clock) != CLOCK_MONOTONIC
|
|
||||||
|
|
||||||
#include <sysdeps/unix/clock_nanosleep.c>
|
#include <sysdeps/unix/clock_nanosleep.c>
|
||||||
|
Loading…
Reference in New Issue
Block a user