mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Update.
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:
10
nptl/init.c
10
nptl/init.c
@ -225,6 +225,16 @@ __pthread_initialize_minimal_internal (void)
|
||||
NULL, _NSIG / 8);
|
||||
|
||||
|
||||
/* The kernel supported POSIX timer handling needs a signal to implement
|
||||
SIGEV_THREAD. We block the signal everywhere but we have to make
|
||||
sure it is not ignored. The signal is a realtime signal so using
|
||||
the default handler is fine (this handler is already selected). */
|
||||
__sigdelset (&sa.sa_mask, SIGCANCEL);
|
||||
__sigaddset (&sa.sa_mask, SIGTIMER);
|
||||
(void) INTERNAL_SYSCALL (rt_sigprocmask, err, 4, SIG_BLOCK, &sa.sa_mask,
|
||||
NULL, _NSIG / 8);
|
||||
|
||||
|
||||
/* Determine the default allowed stack size. This is the size used
|
||||
in case the user does not specify one. */
|
||||
struct rlimit limit;
|
||||
|
Reference in New Issue
Block a user