git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allowed to pass mutex by reference into STG_LOCKER.
[stg.git]
/
projects
/
stargazer
/
plugins
/
configuration
/
sgconfig
/
conn.h
diff --git
a/projects/stargazer/plugins/configuration/sgconfig/conn.h
b/projects/stargazer/plugins/configuration/sgconfig/conn.h
index e3cb3f0c6e72a26274929c5dd9b49b598315e50a..fae0c4b2426d2c59f6296244e56ff4b7044caf9b 100644
(file)
--- a/
projects/stargazer/plugins/configuration/sgconfig/conn.h
+++ b/
projects/stargazer/plugins/configuration/sgconfig/conn.h
@@
-69,6
+69,8
@@
class Conn
bool IsDone() const { return m_state == DONE; }
bool IsKeepAlive() const { return m_keepAlive; }
+ void SetKeepAlive() { m_keepAlive = true; }
+
private:
static const char STG_HEADER[5];