From: brocalv Date: Mon, 25 Feb 2008 08:29:03 +0000 (+0000) Subject: FOSA-PaRTiKle: changes in the defintion of opaque types X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/fosa.git/commitdiff_plain/22a9118954be463aaf0a95fd9d62def0f985126c FOSA-PaRTiKle: changes in the defintion of opaque types git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@1027 35b4ef3e-fd22-0410-ab77-dab3279adceb --- diff --git a/include/fosa_opaque_types.h b/include/fosa_opaque_types.h index 5f96806..d6146c7 100644 --- a/include/fosa_opaque_types.h +++ b/include/fosa_opaque_types.h @@ -340,6 +340,7 @@ typedef pthread_mutex_t FOSA_MUTEX_T_OPAQUE; #include #include #include +#include typedef struct { posix_appsched_actions_t actions; @@ -348,17 +349,22 @@ typedef struct { bool rejected; bool suspended; bool activated; -} fosa_ads_actions_internal_t; +} FOSA_ADS_ACTIONS_T_OPAQUE; + +typedef struct { + jmp_buf jmp_context; + bool jmp_hasexecuted; + sigset_t jmp_sigmask; +} FOSA_LONG_JUMP_CONTEXT_T_OPAQUE; typedef pthread_t FOSA_THREAD_ID_T_OPAQUE; typedef pthread_attr_t FOSA_THREAD_ATTR_T_OPAQUE; typedef int FOSA_SIGNAL_T_OPAQUE; -typedef fosa_ads_actions_internal_t FOSA_ADS_ACTIONS_T_OPAQUE; typedef clockid_t FOSA_CLOCK_ID_T_OPAQUE; typedef timer_t FOSA_TIMER_ID_T_OPAQUE; typedef pthread_cond_t FOSA_COND_T_OPAQUE; typedef pthread_mutex_t FOSA_MUTEX_T_OPAQUE; -typedef void * FOSA_LONG_JUMP_CONTEXT_T_OPAQUE; + enum _fosa_clocks_e { @@ -367,7 +373,7 @@ enum _fosa_clocks_e { enum _fosa_signal_limits_e { FOSA_SIGNAL_MIN = SIGRTMIN, - FOSA_SIGNAL_MAX = SIGRTMAX, + FOSA_SIGNAL_MAX = SIGRTMIN + 0, }; enum _fosa_errors_e {