#include <stdlib.h>
#include <sys/types.h>
#include <errno.h>
-#define __USE_GNU
#include <sched.h>
#include <dlfcn.h>
}
int
-pthread_cond_timedwait(pthread_cond_t *__restrict cond,
- pthread_mutex_t *__restrict mutex,
- const struct timespec *__restrict time)
+pthread_cond_timedwait(pthread_cond_t *__rte_restrict cond,
+ pthread_mutex_t *__rte_restrict mutex,
+ const struct timespec *__rte_restrict time)
{
NOT_IMPLEMENTED;
return _sys_pthread_funcs.f_pthread_cond_timedwait(cond, mutex, time);
}
int
-pthread_create(pthread_t *__restrict tid,
- const pthread_attr_t *__restrict attr,
+pthread_create(pthread_t *__rte_restrict tid,
+ const pthread_attr_t *__rte_restrict attr,
lthread_func_t func,
- void *__restrict arg)
+ void *__rte_restrict arg)
{
if (override) {
int lcore = -1;
return _sys_pthread_funcs.f_pthread_rwlock_wrlock(a);
}
-#ifdef RTE_EXEC_ENV_LINUXAPP
+#ifdef RTE_EXEC_ENV_LINUX
int
pthread_yield(void)
{