mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
* sysdeps/unix/sysv/linux/aio_misc.h: Various cleanups.
This commit is contained in:
parent
bb54908866
commit
88bce79eca
@ -1,3 +1,7 @@
|
|||||||
|
2006-03-02 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/aio_misc.h: Various cleanups.
|
||||||
|
|
||||||
2006-03-01 Ulrich Drepper <drepper@redhat.com>
|
2006-03-01 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
|
* sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2004 Free Software Foundation, Inc.
|
/* Copyright (C) 2004, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Jakub Jelinek <jakub@redhat.com>, 2004.
|
Contributed by Jakub Jelinek <jakub@redhat.com>, 2004.
|
||||||
|
|
||||||
@ -19,10 +19,10 @@
|
|||||||
|
|
||||||
#ifndef _AIO_MISC_H
|
#ifndef _AIO_MISC_H
|
||||||
# include_next <aio_misc.h>
|
# include_next <aio_misc.h>
|
||||||
|
# include <limits.h>
|
||||||
|
# include <pthread.h>
|
||||||
# include <signal.h>
|
# include <signal.h>
|
||||||
# include <sysdep.h>
|
# include <sysdep.h>
|
||||||
# include <pthread.h>
|
|
||||||
# include <limits.h>
|
|
||||||
|
|
||||||
# define aio_start_notify_thread __aio_start_notify_thread
|
# define aio_start_notify_thread __aio_start_notify_thread
|
||||||
# define aio_create_helper_thread __aio_create_helper_thread
|
# define aio_create_helper_thread __aio_create_helper_thread
|
||||||
@ -37,7 +37,8 @@ __aio_start_notify_thread (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
extern inline int
|
extern inline int
|
||||||
__aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), void *arg)
|
__aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *),
|
||||||
|
void *arg)
|
||||||
{
|
{
|
||||||
pthread_attr_t attr;
|
pthread_attr_t attr;
|
||||||
|
|
||||||
@ -64,5 +65,5 @@ __aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), void *arg)
|
|||||||
|
|
||||||
(void) pthread_attr_destroy (&attr);
|
(void) pthread_attr_destroy (&attr);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user