X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=main.cc;h=853654ccd35626c8410842f15419b265accd2dbb;hp=300306a461bc6c4f1f9f902239bb285567d8c493;hb=28e1bf20ea2bc74d7376b7cd1bfce0fc409bcde9;hpb=9c42c31b487bf7319dba4d43e417e29420306977 diff --git a/main.cc b/main.cc index 300306a4..853654cc 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); }