Пример #1
0
LIB_PRIVATE
int _real_pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex)
{
#if __aarch64__
  int result = NEXT_FNC_DEFAULT(pthread_cond_wait)(cond,mutex);
  return result;
#else
  REAL_FUNC_PASSTHROUGH_TYPED (int,pthread_cond_wait) (cond,mutex);
#endif
}
Пример #2
0
LIB_PRIVATE
int _real_pthread_cond_signal(pthread_cond_t *cond)
{
#if __aarch64__
  int result = NEXT_FNC_DEFAULT(pthread_cond_signal)(cond);
  return result;
#else
  REAL_FUNC_PASSTHROUGH_TYPED (int,pthread_cond_signal) (cond);
#endif
}
Пример #3
0
LIB_PRIVATE
int _real_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
                                 const struct timespec *abstime)
{
#if __aarch64__
  int result = NEXT_FNC_DEFAULT(pthread_cond_timedwait)(cond, mutex, abstime);
  return result;
#else
  REAL_FUNC_PASSTHROUGH_TYPED (int,pthread_cond_timedwait) (cond,mutex,abstime);
#endif
}
Пример #4
0
LIB_PRIVATE
int _real_pthread_cond_init(pthread_cond_t *cond,
                            const pthread_condattr_t *attr)
{
#if __aarch64__
  int result = NEXT_FNC_DEFAULT(pthread_cond_init)(cond,attr);
  return result;
#else
  REAL_FUNC_PASSTHROUGH_TYPED (int,pthread_cond_init) (cond,attr);
#endif
}
Пример #5
0
LIB_PRIVATE
int
_real_pthread_cond_destroy(pthread_cond_t *cond)
{
#if __aarch64__
  int result = NEXT_FNC_DEFAULT(pthread_cond_destroy)(cond);
  return result;

#else /* if __aarch64__ */
  REAL_FUNC_PASSTHROUGH_TYPED(int, pthread_cond_destroy) (cond);
#endif /* if __aarch64__ */
}