projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Fix AM_CONDITIONAL for non-linux
[m6w6/libmemcached]
/
libtest
/
server.cc
diff --git
a/libtest/server.cc
b/libtest/server.cc
index 5f0d59ec161c830b87b7d9c115c9165c7d166c33..8b8b8f3e98776eef0a11a8fd18cd35280a9fbdcc 100644
(file)
--- a/
libtest/server.cc
+++ b/
libtest/server.cc
@@
-155,6
+155,13
@@
bool Server::command(std::string& command_arg)
return false;
}
+bool Server::wait_for_pidfile() const
+{
+ Wait wait(pid_file(), 4);
+
+ return wait.successful();
+}
+
bool Server::start()
{
// If we find that we already have a pid then kill it.