From 72b7d402e36ac2235e89c3b099a634f3fb5e5770 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 1 Mar 2012 15:36:13 +0100 Subject: activeSessions rewrite to prevent deadlock. --- server/src/session.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'server/src/session.h') diff --git a/server/src/session.h b/server/src/session.h index 9ad84b5..1cb3041 100644 --- a/server/src/session.h +++ b/server/src/session.h @@ -132,7 +132,17 @@ public: // // Admin methods // - std::vector activeSessions(); + class SessionInfo { + public: + std::string id; + std::string patientid; + std::string user; + std::string course; + std::string templ; + bool idle; + bool ondisc; + }; + std::vector activeSessions(); private: std::map sessions; -- cgit v1.2.3