17 #include <glog/logging.h> 26 gflags::ParseCommandLineFlags(&argc, &argv,
true);
27 google::InitGoogleLogging(argv[0]);
28 CHECK_EQ(FLAGS_s + FLAGS_x, 1)
29 <<
"exactly one of -s and -x must be specified";
int main(int argc, char *argv[])
DEFINE_bool(s, false,"get shared lock")