diff options
Diffstat (limited to 'indra/llcommon')
| -rw-r--r-- | indra/llcommon/llapp.h | 2 | ||||
| -rw-r--r-- | indra/llcommon/llqueuedthread.cpp | 5 | ||||
| -rw-r--r-- | indra/llcommon/lluuid.h | 1 | 
3 files changed, 6 insertions, 2 deletions
| diff --git a/indra/llcommon/llapp.h b/indra/llcommon/llapp.h index 27a52cdd99..e5b8edf9c3 100644 --- a/indra/llcommon/llapp.h +++ b/indra/llcommon/llapp.h @@ -235,7 +235,7 @@ public:  	// Child process handling (Unix only for now)  	//  	// Set a callback to be run on exit of a child process -	// WARNING!  This callback is run from the signal handler due to the extreme crappiness of +	// WARNING!  This callback is run from the signal handler due to  	// Linux threading requiring waitpid() to be called from the thread that spawned the process.  	// At some point I will make this more behaved, but I'm not going to fix this right now - djs  	void setChildCallback(pid_t pid, LLAppChildCallback callback); diff --git a/indra/llcommon/llqueuedthread.cpp b/indra/llcommon/llqueuedthread.cpp index 06ceeb2bc3..809a626c93 100644 --- a/indra/llcommon/llqueuedthread.cpp +++ b/indra/llcommon/llqueuedthread.cpp @@ -133,8 +133,11 @@ S32 LLQueuedThread::updateQueue(U32 max_time_ms)  	if (mThreaded)  	{  		pending = getPending(); +		if(pending > 0) +		{  		unpause();  	} +	}  	else  	{  		while (pending > 0) @@ -459,7 +462,7 @@ S32 LLQueuedThread::processNextRequest()  			req->setStatus(STATUS_QUEUED);  			mRequestQueue.insert(req);  			unlockData(); -			if (mThreaded && start_priority <= PRIORITY_LOW) +			if (mThreaded && start_priority < PRIORITY_NORMAL)  			{  				ms_sleep(1); // sleep the thread a little  			} diff --git a/indra/llcommon/lluuid.h b/indra/llcommon/lluuid.h index c78fb12018..3a0d66e4a5 100644 --- a/indra/llcommon/lluuid.h +++ b/indra/llcommon/lluuid.h @@ -133,6 +133,7 @@ public:  	U8 mData[UUID_BYTES];  }; +typedef std::vector<LLUUID> uuid_vec_t;  // Construct  inline LLUUID::LLUUID() | 
