52#include <libexcept/file_inheritance.h>
67#include <snapdev/poison.h>
70void usage(
char * progname)
72 std::cout <<
"Usage: " << progname <<
" [-v] [-q] [-h|--help]\n";
73 std::cout <<
"where options are:\n";
74 std::cout <<
" -v be more verbose\n";
75 std::cout <<
" -q be quiet\n";
76 std::cout <<
" -h | --help print out this help screen\n";
80int main(
int argc,
char * argv[])
82 libexcept::verify_inherited_files();
86 for(
int i(1); i < argc; ++i)
88 if(strcmp(argv[i],
"-v") == 0)
92 else if(strcmp(argv[i],
"-q") == 0)
96 else if(strcmp(argv[i],
"-h") == 0
97 || strcmp(argv[i],
"--help") == 0)
104 std::cerr <<
"error: unsupported command line option \""
112 if(cppthread::is_using_vdso())
116 std::cout <<
"the vDSO is active" << std::endl;
120 std::cout <<
"true" << std::endl;
128 std::cout <<
"no vDSO was detected" << std::endl;
132 std::cout <<
"false" << std::endl;
Thread Runner and Managers.