diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-12-18 15:19:24 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-12-18 15:19:24 -0500 |
commit | c1b58587dfe4711383b1878d341527221d2c298f (patch) | |
tree | 4bdf329a3fa23039e5c9cbb3cca3ba005f652b57 /indra/llplugin/llpluginprocessparent.h | |
parent | e0f5ce4ecff112857a03b5f9b61d29ef86209d24 (diff) | |
parent | fd71944170e69b0fc47b45c385c33ef7acf4cafb (diff) |
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/llplugin/llpluginprocessparent.h')
-rw-r--r-- | indra/llplugin/llpluginprocessparent.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginprocessparent.h b/indra/llplugin/llpluginprocessparent.h index 03ce10f86c..524cd9923f 100644 --- a/indra/llplugin/llpluginprocessparent.h +++ b/indra/llplugin/llpluginprocessparent.h @@ -102,6 +102,9 @@ public: bool getDisableTimeout() { return mDisableTimeout; }; void setDisableTimeout(bool disable) { mDisableTimeout = disable; }; + + void setLaunchTimeout(F32 timeout) { mPluginLaunchTimeout = timeout; }; + void setLockupTimeout(F32 timeout) { mPluginLockupTimeout = timeout; }; F64 getCPUUsage() { return mCPUUsage; }; @@ -158,6 +161,10 @@ private: bool mDebug; LLProcessLauncher mDebugger; + + F32 mPluginLaunchTimeout; // Somewhat longer timeout for initial launch. + F32 mPluginLockupTimeout; // If we don't receive a heartbeat in this many seconds, we declare the plugin locked up. + }; #endif // LL_LLPLUGINPROCESSPARENT_H |