mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
Consistently added return to pthread_exit
This commit is contained in:
parent
a0bfc9c78f
commit
356fa562ec
@ -1,3 +1,8 @@
|
|||||||
|
2012-01-10 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
|
* pthreadP.h: Add noreturn to __pthread_exit.
|
||||||
|
* sysdeps/pthread/pthread-functions.h: Likewise for ptr___pthread_exit.
|
||||||
|
|
||||||
2011-12-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
2011-12-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/aio_misc.h (__aio_create_helper_thread):
|
* sysdeps/unix/sysv/linux/aio_misc.h (__aio_create_helper_thread):
|
||||||
|
@ -501,7 +501,7 @@ extern int __pthread_atfork (void (*prepare) (void), void (*parent) (void),
|
|||||||
extern pthread_t __pthread_self (void);
|
extern pthread_t __pthread_self (void);
|
||||||
extern int __pthread_equal (pthread_t thread1, pthread_t thread2);
|
extern int __pthread_equal (pthread_t thread1, pthread_t thread2);
|
||||||
extern int __pthread_kill (pthread_t threadid, int signo);
|
extern int __pthread_kill (pthread_t threadid, int signo);
|
||||||
extern void __pthread_exit (void *value);
|
extern void __pthread_exit (void *value) __attribute__ ((__noreturn__));
|
||||||
extern int __pthread_setcanceltype (int type, int *oldtype);
|
extern int __pthread_setcanceltype (int type, int *oldtype);
|
||||||
extern int __pthread_enable_asynccancel (void) attribute_hidden;
|
extern int __pthread_enable_asynccancel (void) attribute_hidden;
|
||||||
extern void __pthread_disable_asynccancel (int oldtype)
|
extern void __pthread_disable_asynccancel (int oldtype)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2011 Free Software Foundation, Inc.
|
/* Copyright (C) 2003-2007, 2011, 2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ struct pthread_functions
|
|||||||
pthread_mutex_t *,
|
pthread_mutex_t *,
|
||||||
const struct timespec *);
|
const struct timespec *);
|
||||||
int (*ptr_pthread_equal) (pthread_t, pthread_t);
|
int (*ptr_pthread_equal) (pthread_t, pthread_t);
|
||||||
void (*ptr___pthread_exit) (void *);
|
void (*ptr___pthread_exit) (void *) __attribute__ ((__noreturn__));
|
||||||
int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *);
|
int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *);
|
||||||
int (*ptr_pthread_setschedparam) (pthread_t, int,
|
int (*ptr_pthread_setschedparam) (pthread_t, int,
|
||||||
const struct sched_param *);
|
const struct sched_param *);
|
||||||
|
Loading…
Reference in New Issue
Block a user