Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
update the double extern declaration bis
[simgrid.git] / src / simix / smx_action.c
1 /*      $Id$     */
2
3 /* Copyright (c) 2007 Arnaud Legrand, Bruno Donnassolo.
4    All rights reserved.                                          */
5
6 /* This program is free software; you can redistribute it and/or modify it
7  * under the terms of the license (GNU LGPL) which comes with this package. */
8
9 #include "private.h"
10 #include "xbt/log.h"
11
12 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_action, simix,
13                                 "Logging specific to SIMIX (action)");
14
15 /************************************* Actions *********************************/
16
17 smx_action_t SIMIX_communicate(smx_host_t sender,smx_host_t receiver, double size)
18 {
19         return xbt_new0(s_smx_action_t,1);
20 }
21
22 smx_action_t SIMIX_execute(smx_host_t host,double amount)
23 {
24         return xbt_new0(s_smx_action_t,1);
25 }
26
27 SIMIX_error_t SIMIX_action_cancel(smx_action_t action)
28 {
29
30         return SIMIX_OK;
31 }
32
33 void SIMIX_action_set_priority(smx_action_t action, double priority)
34 {
35         return;
36 }
37
38 SIMIX_error_t SIMIX_action_destroy(smx_action_t action)
39 {
40         return SIMIX_OK;
41 }