#include <basis/chaos.h>#include <basis/guards.h>#include <basis/istring.h>#include <basis/mutex.h>#include <data_struct/amorph.cpp>#include <mechanisms/ithread.h>#include <mechanisms/safe_roller.h>#include <mechanisms/time_stamp.h>#include <loggers/file_logger.h>#include <opsystem/path_configuration.h>#include <data_struct/static_memory_gremlin.h>Include dependency graph for t_auto_synch.cpp:

Go to the source code of this file.
Defines | |
| #define | LOG(to_print) log.log(timestamp(true) + istring(to_print)) |
Functions | |
| int | main (int formal(argc), char *formal(argv)[]) |
Variables | |
| HOOPLE_STARTUP_CODE | |
| const int | DEFAULT_FISH = 64 |
| const int | DEFAULT_RUN_TIME = 142 * SECOND_ms |
| int | concurrent_biters = 0 |
| int | grab_lock = 0 |
| mutex * | guard |
| const istring | LOGFILE_NAME |
| chaos | rando |
| #define LOG | ( | to_print | ) | log.log(timestamp(true) + istring(to_print)) |
Definition at line 55 of file t_auto_synch.cpp.
| int main | ( | int | formal(argc), | |
| char * | formal(argv)[] | |||
| ) |
Definition at line 120 of file t_auto_synch.cpp.
References guards::alert_message(), amorph< contents >::append(), concurrent_biters, DEFAULT_FISH, DEFAULT_RUN_TIME, amorph< contents >::elements(), guard, chaos::inclusive(), LOG, log(), LOGFILE_NAME, NIL, rando, amorph< contents >::reset(), and portable::sleep_ms().
| int concurrent_biters = 0 |
Definition at line 39 of file t_auto_synch.cpp.
| const int DEFAULT_FISH = 64 |
Definition at line 33 of file t_auto_synch.cpp.
| const int DEFAULT_RUN_TIME = 142 * SECOND_ms |
Definition at line 36 of file t_auto_synch.cpp.
| int grab_lock = 0 |
Definition at line 42 of file t_auto_synch.cpp.
| mutex* guard |
Definition at line 31 of file t_auto_synch.cpp.
| const istring LOGFILE_NAME |
Initial value:
path_configuration::make_logfile_name ("t_auto_synch.log")
Definition at line 51 of file t_auto_synch.cpp.
Definition at line 58 of file t_auto_synch.cpp.
1.5.1