A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[trace] output the command line used to generate the trace file
[simgrid.git]
/
src
/
simix
/
smx_process.c
diff --git
a/src/simix/smx_process.c
b/src/simix/smx_process.c
index
dfeae73
..
357314a
100644
(file)
--- a/
src/simix/smx_process.c
+++ b/
src/simix/smx_process.c
@@
-333,6
+333,14
@@
void SIMIX_process_kill(smx_process_t process, smx_process_t issuer) {
case SIMIX_ACTION_IO:
SIMIX_io_destroy(process->waiting_action);
break;
case SIMIX_ACTION_IO:
SIMIX_io_destroy(process->waiting_action);
break;
+
+ /* **************************************/
+ /* TUTORIAL: New API */
+ case SIMIX_ACTION_NEW_API:
+ SIMIX_new_api_destroy(process->waiting_action);
+ break;
+ /* **************************************/
+
}
}
if(!xbt_dynar_member(simix_global->process_to_run, &(process)) && process != issuer) {
}
}
if(!xbt_dynar_member(simix_global->process_to_run, &(process)) && process != issuer) {
@@
-571,7
+579,7
@@
xbt_dict_t SIMIX_process_get_properties(smx_process_t process)
void SIMIX_pre_process_sleep(smx_simcall_t simcall)
{
void SIMIX_pre_process_sleep(smx_simcall_t simcall)
{
- if (MC_
IS_ENABLED
) {
+ if (MC_
is_active()
) {
MC_process_clock_add(simcall->issuer, simcall->process_sleep.duration);
simcall->process_sleep.result = SIMIX_DONE;
SIMIX_simcall_answer(simcall);
MC_process_clock_add(simcall->issuer, simcall->process_sleep.duration);
simcall->process_sleep.result = SIMIX_DONE;
SIMIX_simcall_answer(simcall);