Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Extend xbt_propositional_symbols
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 10 Feb 2015 11:19:20 +0000 (12:19 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 10 Feb 2015 11:19:20 +0000 (12:19 +0100)
commitfb38ec7f242abb0362371bbdd3cb848d3e1d1303
treed26ed7452bf2e1d99b0aaef16ac6ebf8184e99ff
parent67e5c5c9a1dddb2528b23194e6001bc8b70ce582
[mc] Extend xbt_propositional_symbols

Add support for:

 * general callbacks with a `void*` argument (the `data` field);

 * as an optimisation, a simple pointer to a variable can be passed in
   the `data` field (this can be used in order to enable the MCer to
   fetch the data directly from the MCed memory without trigerring a
   MCed-side callback);

 * a callback function used to free the `data` field.
include/simgrid/modelchecker.h
include/xbt/automaton.h
src/mc/mc_global.c
src/mc/mc_liveness.c
src/xbt/automaton/automaton.c