summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b63baeb)
git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@829
35b4ef3e-fd22-0410-ab77-
dab3279adceb
**/
#define FRSH_AUTOMATIC_PRIO_ASSIGN_ENABLE true
**/
#define FRSH_AUTOMATIC_PRIO_ASSIGN_ENABLE true
-#define FRSH_DISTRIBUTED_MODULE_SUPPORTED false
+#define FRSH_DISTRIBUTED_MODULE_SUPPORTED true
+
+/** This defines 1 resource_id value for systems that have only one
+ resource of a kind. **/
+#define FRSH_RESOURCE_ID_DEFAULT 0
+#define FRSH_CPU_ID_DEFAULT 1
+#define FRSH_NETWORK_ID_DEFAULT 0
/**
* @defgroup internal Array size for memory optimization
/**
* @defgroup internal Array size for memory optimization
/**********************************************/
typedef unsigned int frsh_resource_id_t;
/**********************************************/
typedef unsigned int frsh_resource_id_t;
-/** This defines 1 resource_id value for systems that have only one
- resource of a kind. **/
-#define FRSH_RESOURCE_ID_DEFAULT 0
-#define FRSH_CPU_ID_DEFAULT 0
-#define FRSH_NETWORK_ID_DEFAULT 0
-
/** Kind of contract: regular, background or dummy **/
typedef enum {
FRSH_CT_REGULAR = 0,
/** Kind of contract: regular, background or dummy **/
typedef enum {
FRSH_CT_REGULAR = 0,
**/
int frsh_receive_sync
(const frsh_receive_endpoint_t endpoint,
**/
int frsh_receive_sync
(const frsh_receive_endpoint_t endpoint,
- size_t *message_size,
- frsh_network_address_t *from);
+ size_t *message_size,
+ frsh_network_address_t *from);
/**
* frsh_receive_async()
/**
* frsh_receive_async()
**/
int frsh_receive_async
(const frsh_receive_endpoint_t endpoint,
**/
int frsh_receive_async
(const frsh_receive_endpoint_t endpoint,
- size_t *message_size,
- frsh_network_address_t *from);
+ size_t *message_size,
+ frsh_network_address_t *from);