]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_core_types.h
Adding frsh_thread_join_in_background() NOT YET TESTED
[frescor/frsh-include.git] / frsh_core_types.h
index f038f70181e3ba22a1e82a4df821eddf43119012..8c9ec55d63b7bea6756392e4b96430a21d033f10 100644 (file)
 //  by the GNU General Public License. This exception does not
 //  however invalidate any other reasons why the executable file might be
 //  covered by the GNU Public License.
-//  As a special exception, if you include this header file into source
-//  files to be compiled, this header file does not by itself cause
-//  the resulting executable to be covered by the GNU General Public
-//  License.  This exception does not however invalidate any other
-//  reasons why the executable file might be covered by the GNU General
-//  Public License.
 // -----------------------------------------------------------------------
 //frsh_core_types.h
 //==============================================
@@ -88,6 +82,8 @@
 #include "frsh_distributed_types.h"
 #include "frsh_error.h"
 
+#include "fosa.h"
+
 FRSH_CPP_BEGIN_DECLS
 
 /**
@@ -108,7 +104,7 @@ 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
  **/
@@ -173,7 +169,7 @@ typedef enum {
 
 /** Ressource Id: processor_id or network_id **/
 /**********************************************/
-typedef unsigned int frsh_resource_id_t;
+typedef fosa_resource_id_t frsh_resource_id_t;
 
 /** Kind of contract: regular, background or dummy **/
 typedef enum {