Module: xenomai-forge Branch: master Commit: 1f9fca5c6f5000f14b740512cd86384d48d03580 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=1f9fca5c6f5000f14b740512cd86384d48d03580
Author: Philippe Gerum <r...@xenomai.org> Date: Wed Nov 9 18:24:42 2011 +0100 cobalt: remove left over symbols --- include/cobalt/pthread.h | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/include/cobalt/pthread.h b/include/cobalt/pthread.h index 4d2a87e..955a6b4 100644 --- a/include/cobalt/pthread.h +++ b/include/cobalt/pthread.h @@ -134,7 +134,6 @@ typedef struct #include <sched.h> #include_next <pthread.h> #include <nucleus/thread.h> -#include <nucleus/intr.h> #include <cobalt/wrappers.h> struct timespec; @@ -155,12 +154,6 @@ struct timespec; #define PTHREAD_LOCK_SCHED XNLOCK #define PTHREAD_CONFORMING XNTHREAD_STATE_SPARE1 -#define PTHREAD_INOAUTOENA XN_ISR_NOENABLE -#define PTHREAD_IPROPAGATE XN_ISR_PROPAGATE - -#define PTHREAD_IENABLE 0 -#define PTHREAD_IDISABLE 1 - struct cobalt_mutexattr { unsigned magic: 24; unsigned type: 2; @@ -458,6 +451,12 @@ int pthread_setschedparam_ex(pthread_t tid, int pol, const struct sched_param_ex *par); +COBALT_DECL(int, pthread_attr_setschedpolicy(pthread_attr_t *attr, + int policy)); + +COBALT_DECL(int, pthread_attr_setschedparam(pthread_attr_t *attr, + const struct sched_param *par)); + COBALT_DECL(int, pthread_create(pthread_t *tid, const pthread_attr_t *attr, void *(*start) (void *), _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git