]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/commitdiff
resource id is defined in fosa
authorsangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Thu, 26 Jun 2008 10:45:41 +0000 (10:45 +0000)
committersangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Thu, 26 Jun 2008 10:45:41 +0000 (10:45 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@1295 35b4ef3e-fd22-0410-ab77-dab3279adceb

frsh_core_types.h

index a892a8ece7b58bdc91eac5ceba55949da64885b6..8c9ec55d63b7bea6756392e4b96430a21d033f10 100644 (file)
@@ -82,6 +82,8 @@
 #include "frsh_distributed_types.h"
 #include "frsh_error.h"
 
+#include "fosa.h"
+
 FRSH_CPP_BEGIN_DECLS
 
 /**
@@ -102,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
  **/
@@ -167,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 {