This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Ulrich Drepper <drepper@redhat.com> writes:
> Andreas Jaeger <aj@suse.de> writes:
>
> > But what's the best way to fix the second? __pthread_clock_gettime is
> > used only as weak declaration in sysdeps/unix/i386/i586/clock_gettime.c.
>
> Put it in the same header. It's just fine and I assume other
> architectures will follow the same scheme.
I prefer to put it into linuxthreads/internal.
Ok to commit?
Andreas
2001-04-21 Andreas Jaeger <aj@suse.de>
* internals.h: Add __pthread_clock_gettime and
__pthread_clock_settime prototypes.
============================================================
Index: linuxthreads/internals.h
--- linuxthreads/internals.h 2001/04/21 07:47:24 1.63
+++ linuxthreads/internals.h 2001/04/21 16:47:06
@@ -510,6 +510,9 @@
extern int __pthread_spin_init (pthread_spinlock_t *__lock, int __pshared);
extern int __pthread_spin_destroy (pthread_spinlock_t *__lock);
+extern int __pthread_clock_gettime (unsigned long long int freq, struct timespec *tp);
+extern void __pthread_clock_settime (unsigned long long int offset);
+
/* Global pointers to old or new suspend functions */
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |