MonitorThreadID
if (srvapp != NULL && srvapp->MonitorThreadID() == srvapp_id) {
thread_id MonitorThreadID() const;