X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=main.cc;h=853654ccd35626c8410842f15419b265accd2dbb;hb=28e1bf20ea2bc74d7376b7cd1bfce0fc409bcde9;hp=5b03c85c2c11f82ef308cc08464330792f617b53;hpb=a330e8dbc94f534876cc35b1d9d1b1c06d83a437;p=model-checker.git diff --git a/main.cc b/main.cc index 5b03c85..853654c 100644 --- a/main.cc +++ b/main.cc @@ -77,8 +77,8 @@ static void parse_options(struct model_params *params, int *argc, char ***argv) int main_argc; char **main_argv; -/** The real_main function contains the main model checking loop. */ -static void real_main() { +/** The model_main function contains the main model checking loop. */ +static void model_main() { thrd_t user_thread; struct model_params params; @@ -110,12 +110,12 @@ static void real_main() { /** * Main function. Just initializes snapshotting library and the - * snapshotting library calls the real_main function. + * snapshotting library calls the model_main function. */ int main(int argc, char ** argv) { main_argc = argc; main_argv = argv; /* Let's jump in quickly and start running stuff */ - initSnapShotLibrary(10000, 1024, 1024, 4000, &real_main); + initSnapshotLibrary(10000, 1024, 1024, 4000, &model_main); }