1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00
2003-03-25  Ulrich Drepper  <drepper@redhat.com>

	* csu/tst-atomic.c: Adjust tests to what atomic_add_negative and
	atomic_add_zero were supposed to do.
	* include/atomic.h: Adjust atomic_add_negative and atomic_add_zero
	to x86 behavior.

	* sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*.
	This matches the new timer implementation.
	* sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust
	timer info for what the kernel provides these days.
	(struct sigevent): Add _tid field.
	Define SIGEV_THREAD_ID.

	* Versions.def (librt): Add GLIBC_2.3.3.

	* abilist/libpthread.abilist: Update for nptl.
This commit is contained in:
Ulrich Drepper
2003-03-25 20:41:26 +00:00
parent 2a9ae45c3f
commit 09402f5bc1
58 changed files with 1272 additions and 58 deletions

View File

@@ -1,5 +1,5 @@
/* Definitions for POSIX timer implementation on top of LinuxThreads.
Copyright (C) 2000, 2002 Free Software Foundation, Inc.
Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Kaz Kylheku <kaz@ashi.footprints.net>.
@@ -94,6 +94,7 @@ extern struct thread_node __timer_signal_thread_tclk;
/* Return pointer to timer structure corresponding to ID. */
#if 0
static inline struct timer_node *
timer_id2ptr (timer_t timerid)
{
@@ -109,6 +110,10 @@ timer_ptr2id (struct timer_node *timer)
{
return timer - __timer_array;
}
#else
# define timer_id2ptr(timerid) ((struct timed_node *) timerid)
# define timer_ptr2id(timerid) ((void *) timerid)
#endif
/* Check whether timer is valid; global mutex must be held. */
static inline int