]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_core_types.h
Upgrading FRSH trunk to D-AC2v2. Phase I: Moving FRSH-FOSA to FOSA
[frescor/frsh-include.git] / frsh_core_types.h
index a78800055d2a28cc6eb5b90f77d32b9dc702be59..4de2d537e313c49a646d216ac729fe7e3ae40f89 100644 (file)
@@ -83,7 +83,6 @@
 #include "frsh_hierarchical_types.h"
 #include "frsh_distributed_types.h"
 #include "frsh_error.h"
-#include "frsh_fosa.h"
 
 /**
  * @file frsh_core_types.h
 /*@{*/
 
 
+/** identifier of a frsh thread **/
+typedef fosa_thread_id_t frsh_thread_id_t;
+
+
+/** thread attributes object **/
+typedef fosa_thread_attr_t frsh_thread_attr_t;
+
+/** 
+ *  The type references a function that may become a thread's
+ *  code
+ **/
+typedef fosa_thread_code_t frsh_thread_code_t;
+
+
+/** signal number; it is an integer type **/
+typedef fosa_signal_t frsh_signal_t;
+
+#define FRSH_NULL_SIGNAL      FOSA_NULL_SIGNAL
+
+
+#define FRSH_SIGNAL_MIN       FOSA_SIGNAL_MIN
+#define FRSH_SIGNAL_MAX       FOSA_SIGNAL_MAX
+
+
+typedef fosa_signal_info_t frsh_signal_info_t;
+
+
+
+
 /** Kind of workload expected in vres: bounded or indeterminate **/
 typedef enum {
     FRSH_WT_BOUNDED       = 0,