void
-attribute_hidden
_pthread_cleanup_push_defer (
struct _pthread_cleanup_buffer *buffer,
void (*routine) (void *),
void
-attribute_hidden
_pthread_cleanup_pop_restore (
struct _pthread_cleanup_buffer *buffer,
int execute)
#include <jmpbuf-unwind.h>
void
-attribute_hidden
__pthread_cleanup_upto (__jmp_buf target, char *targetframe)
{
struct pthread *self = THREAD_SELF;
#include "pthreadP.h"
int
-attribute_hidden
__pthread_attr_destroy (
pthread_attr_t *attr)
{
int
-attribute_hidden
__pthread_attr_getdetachstate (
const pthread_attr_t *attr,
int *detachstate)
int
-attribute_hidden
__pthread_attr_getinheritsched (
const pthread_attr_t *attr,
int *inherit)
int
-attribute_hidden
__pthread_attr_getschedparam (
const pthread_attr_t *attr,
struct sched_param *param)
int
-attribute_hidden
__pthread_attr_getschedpolicy (
const pthread_attr_t *attr,
int *policy)
int
-attribute_hidden
__pthread_attr_getscope (
const pthread_attr_t *attr,
int *scope)
int
-attribute_hidden
__pthread_attr_init_2_1 (
pthread_attr_t *attr)
{
int
-attribute_hidden
__pthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate)
{
struct pthread_attr *iattr;
int
-attribute_hidden
__pthread_attr_setinheritsched (
pthread_attr_t *attr,
int inherit)
int
-attribute_hidden
__pthread_attr_setschedparam (
pthread_attr_t *attr,
const struct sched_param *param)
int
-attribute_hidden
__pthread_attr_setschedpolicy (
pthread_attr_t *attr,
int policy)
int
-attribute_hidden
__pthread_attr_setscope (
pthread_attr_t *attr,
int scope)
int
-attribute_hidden
__pthread_cond_destroy (
pthread_cond_t *cond)
{
int
-attribute_hidden
__pthread_cond_init (
pthread_cond_t *cond,
const pthread_condattr_t *cond_attr)
int
-attribute_hidden
__pthread_condattr_destroy (pthread_condattr_t *attr)
{
/* Nothing to be done. */
int
-attribute_hidden
__pthread_condattr_init (pthread_condattr_t *attr)
{
memset (attr, '\0', sizeof (*attr));
static struct pthread *__nptl_last_event __attribute_used__;
/* Number of threads running. */
-unsigned int attribute_hidden __nptl_nthreads = 1;
+unsigned int __nptl_nthreads = 1;
/* Code to allocate and deallocate a stack. */
int
-attribute_hidden
__pthread_equal (pthread_t thread1, pthread_t thread2)
{
return thread1 == thread2;
void
-attribute_hidden
__pthread_exit (void* value)
{
THREAD_SETMEM (THREAD_SELF, result, value);
int
-attribute_hidden
__pthread_getschedparam (
pthread_t threadid,
int *policy,
void *
-attribute_hidden
__pthread_getspecific (pthread_key_t key)
{
struct pthread_key_data *data;
int
-attribute_hidden
__pthread_key_create (
pthread_key_t *key,
void (*destr) (void *))
int
-attribute_hidden
__pthread_mutex_destroy (
pthread_mutex_t *mutex)
{
int
-attribute_hidden
__pthread_mutex_init (
pthread_mutex_t *mutex,
const pthread_mutexattr_t *mutexattr)
int
-attribute_hidden
__pthread_mutex_lock (
pthread_mutex_t *mutex)
{
int
-attribute_hidden
__pthread_mutex_unlock (
pthread_mutex_t *mutex)
{
pthread_t
-attribute_hidden
__pthread_self (void)
{
return (pthread_t) THREAD_SELF;
int
-attribute_hidden
__pthread_setcancelstate (
int state,
int *oldstate)
int
-attribute_hidden
__pthread_setcanceltype (
int type,
int *oldtype)
int
-attribute_hidden
__pthread_setschedparam (
pthread_t threadid,
int policy,
int
-attribute_hidden
__pthread_setspecific (
pthread_key_t key,
const void *value)
int
-attribute_hidden
__pthread_cond_broadcast (
pthread_cond_t *cond)
{
int
-attribute_hidden
__pthread_cond_signal (
pthread_cond_t *cond)
{
};
int
-attribute_hidden
__pthread_cond_timedwait (
pthread_cond_t *cond,
pthread_mutex_t *mutex,
int
-attribute_hidden
__pthread_cond_wait (
pthread_cond_t *cond,
pthread_mutex_t *mutex)
/* Acquire read lock for RWLOCK. */
int
-attribute_hidden
__pthread_rwlock_rdlock (
pthread_rwlock_t *rwlock)
{
/* Unlock RWLOCK. */
int
-attribute_hidden
__pthread_rwlock_unlock (pthread_rwlock_t *rwlock)
{
lll_lock (rwlock->__data.__lock, rwlock->__data.__shared);
/* Acquire write lock for RWLOCK. */
int
-attribute_hidden
__pthread_rwlock_wrlock (
pthread_rwlock_t *rwlock)
{
}
int
-attribute_hidden
__pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
{
for (;;)
}
int
-attribute_hidden
__pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
{
for (;;)
/* int pthread_cond_broadcast (pthread_cond_t *cond) */
.globl __pthread_cond_broadcast
.type __pthread_cond_broadcast, @function
- .hidden __pthread_cond_broadcast
.align 16
__pthread_cond_broadcast:
cfi_startproc
/* int pthread_cond_signal (pthread_cond_t *cond) */
.globl __pthread_cond_signal
.type __pthread_cond_signal, @function
- .hidden __pthread_cond_signal
.align 16
__pthread_cond_signal:
const struct timespec *abstime) */
.globl __pthread_cond_timedwait
.type __pthread_cond_timedwait, @function
- .hidden __pthread_cond_timedwait
.align 16
__pthread_cond_timedwait:
.LSTARTCODE:
/* int pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex) */
.globl __pthread_cond_wait
.type __pthread_cond_wait, @function
- .hidden __pthread_cond_wait
.align 16
__pthread_cond_wait:
.LSTARTCODE:
.globl __pthread_rwlock_rdlock
.type __pthread_rwlock_rdlock,@function
- .hidden __pthread_rwlock_rdlock
.align 16
__pthread_rwlock_rdlock:
cfi_startproc
.globl __pthread_rwlock_unlock
.type __pthread_rwlock_unlock,@function
- .hidden __pthread_rwlock_unlock
.align 16
__pthread_rwlock_unlock:
cfi_startproc
.globl __pthread_rwlock_wrlock
.type __pthread_rwlock_wrlock,@function
- .hidden __pthread_rwlock_wrlock
.align 16
__pthread_rwlock_wrlock:
cfi_startproc
.globl __pthread_once
.type __pthread_once,@function
- .hidden __pthread_once
.align 16
cfi_startproc
__pthread_once:
int
-attribute_hidden
__pthread_once (once_control, init_routine)
pthread_once_t *once_control;
void (*init_routine) (void);
int
-attribute_hidden
__pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
{
for (;;)
/* int pthread_cond_broadcast (pthread_cond_t *cond) */
.globl __pthread_cond_broadcast
.type __pthread_cond_broadcast, @function
- .hidden __pthread_cond_broadcast
.align 5
__pthread_cond_broadcast:
mov.l r10, @-r15
/* int pthread_cond_signal (pthread_cond_t *cond) */
.globl __pthread_cond_signal
.type __pthread_cond_signal, @function
- .hidden __pthread_cond_signal
.align 5
__pthread_cond_signal:
mov.l r8, @-r15
const struct timespec *abstime) */
.globl __pthread_cond_timedwait
.type __pthread_cond_timedwait, @function
- .hidden __pthread_cond_timedwait
.align 5
__pthread_cond_timedwait:
.LSTARTCODE:
/* int pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex) */
.globl __pthread_cond_wait
.type __pthread_cond_wait, @function
- .hidden __pthread_cond_wait
.align 5
__pthread_cond_wait:
.LSTARTCODE:
.text
.globl __pthread_once
.type __pthread_once,@function
- .hidden __pthread_once
.align 5
cfi_startproc
__pthread_once:
.globl __pthread_rwlock_rdlock
.type __pthread_rwlock_rdlock,@function
- .hidden __pthread_rwlock_rdlock
.align 5
__pthread_rwlock_rdlock:
mov.l r12, @-r15
.globl __pthread_rwlock_unlock
.type __pthread_rwlock_unlock,@function
- .hidden __pthread_rwlock_unlock
.align 5
__pthread_rwlock_unlock:
mov.l r12, @-r15
.globl __pthread_rwlock_wrlock
.type __pthread_rwlock_wrlock,@function
- .hidden __pthread_rwlock_wrlock
.align 5
__pthread_rwlock_wrlock:
mov.l r12, @-r15
int
-attribute_hidden
__pthread_once (once_control, init_routine)
pthread_once_t *once_control;
void (*init_routine) (void);
/* int pthread_cond_broadcast (pthread_cond_t *cond) */
.globl __pthread_cond_broadcast
.type __pthread_cond_broadcast, @function
- .hidden __pthread_cond_broadcast
.align 16
__pthread_cond_broadcast:
/* int pthread_cond_signal (pthread_cond_t *cond) */
.globl __pthread_cond_signal
.type __pthread_cond_signal, @function
- .hidden __pthread_cond_signal
.align 16
__pthread_cond_signal:
const struct timespec *abstime) */
.globl __pthread_cond_timedwait
.type __pthread_cond_timedwait, @function
- .hidden __pthread_cond_timedwait
.align 16
__pthread_cond_timedwait:
.LSTARTCODE:
/* int pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex) */
.globl __pthread_cond_wait
.type __pthread_cond_wait, @function
- .hidden __pthread_cond_wait
.align 16
__pthread_cond_wait:
.LSTARTCODE:
.globl __pthread_once
.type __pthread_once,@function
- .hidden __pthread_once
.align 16
__pthread_once:
.LSTARTCODE:
.globl __pthread_rwlock_rdlock
.type __pthread_rwlock_rdlock,@function
- .hidden __pthread_rwlock_rdlock
.align 16
__pthread_rwlock_rdlock:
cfi_startproc
.globl __pthread_rwlock_unlock
.type __pthread_rwlock_unlock,@function
- .hidden __pthread_rwlock_unlock
.align 16
__pthread_rwlock_unlock:
cfi_startproc
.globl __pthread_rwlock_wrlock
.type __pthread_rwlock_wrlock,@function
- .hidden __pthread_rwlock_wrlock
.align 16
__pthread_rwlock_wrlock:
cfi_startproc
void
-attribute_hidden
__cleanup_fct_attribute __attribute ((noreturn))
__pthread_unwind (__pthread_unwind_buf_t *buf)
{