diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-12-07 17:25:06 -0500 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-12-07 17:25:06 -0500 | 
| commit | 8a51346d6f0d9171263124c203b2194db914b47d (patch) | |
| tree | e3c03925421e8d758d567cec73e82a759d28aa86 /indra/llcommon | |
| parent | 50ed3bde4392d5df71d2bc53ddbd8f3a138e40ea (diff) | |
| parent | 04bee016c8f33ff98b40c2b3d237f5ded1453284 (diff) | |
merge
Diffstat (limited to 'indra/llcommon')
| -rw-r--r-- | indra/llcommon/llqueuedthread.cpp | 4 | ||||
| -rw-r--r-- | indra/llcommon/llqueuedthread.h | 4 | ||||
| -rw-r--r-- | indra/llcommon/llworkerthread.cpp | 2 | ||||
| -rw-r--r-- | indra/llcommon/llworkerthread.h | 2 | 
4 files changed, 6 insertions, 6 deletions
| diff --git a/indra/llcommon/llqueuedthread.cpp b/indra/llcommon/llqueuedthread.cpp index 5dee7a3541..1738c16dea 100644 --- a/indra/llcommon/llqueuedthread.cpp +++ b/indra/llcommon/llqueuedthread.cpp @@ -109,7 +109,7 @@ void LLQueuedThread::shutdown()  // MAIN THREAD  // virtual -S32 LLQueuedThread::update(U32 max_time_ms) +S32 LLQueuedThread::update(F32 max_time_ms)  {  	if (!mStarted)  	{ @@ -122,7 +122,7 @@ S32 LLQueuedThread::update(U32 max_time_ms)  	return updateQueue(max_time_ms);  } -S32 LLQueuedThread::updateQueue(U32 max_time_ms) +S32 LLQueuedThread::updateQueue(F32 max_time_ms)  {  	F64 max_time = (F64)max_time_ms * .001;  	LLTimer timer; diff --git a/indra/llcommon/llqueuedthread.h b/indra/llcommon/llqueuedthread.h index 499d13a792..d3704b0fe2 100644 --- a/indra/llcommon/llqueuedthread.h +++ b/indra/llcommon/llqueuedthread.h @@ -173,8 +173,8 @@ protected:  public:  	bool waitForResult(handle_t handle, bool auto_complete = true); -	virtual S32 update(U32 max_time_ms); -	S32 updateQueue(U32 max_time_ms); +	virtual S32 update(F32 max_time_ms); +	S32 updateQueue(F32 max_time_ms);  	void waitOnPending();  	void printQueueStats(); diff --git a/indra/llcommon/llworkerthread.cpp b/indra/llcommon/llworkerthread.cpp index 4988bdf570..3d05a30ac2 100644 --- a/indra/llcommon/llworkerthread.cpp +++ b/indra/llcommon/llworkerthread.cpp @@ -81,7 +81,7 @@ void LLWorkerThread::clearDeleteList()  }  // virtual -S32 LLWorkerThread::update(U32 max_time_ms) +S32 LLWorkerThread::update(F32 max_time_ms)  {  	S32 res = LLQueuedThread::update(max_time_ms);  	// Delete scheduled workers diff --git a/indra/llcommon/llworkerthread.h b/indra/llcommon/llworkerthread.h index 78a4781d15..be46394d6e 100644 --- a/indra/llcommon/llworkerthread.h +++ b/indra/llcommon/llworkerthread.h @@ -86,7 +86,7 @@ public:  	LLWorkerThread(const std::string& name, bool threaded = true, bool should_pause = false);  	~LLWorkerThread(); -	/*virtual*/ S32 update(U32 max_time_ms); +	/*virtual*/ S32 update(F32 max_time_ms);  	handle_t addWorkRequest(LLWorkerClass* workerclass, S32 param, U32 priority = PRIORITY_NORMAL); | 
