Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
JennaHuntsman
XDG Integration
Commits
6e448739
Commit
6e448739
authored
9 years ago
by
Rider Linden
Browse files
Options
Downloads
Patches
Plain Diff
Updated a couple comments.
parent
b57b0d97
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llcoproceduremanager.cpp
+5
-3
5 additions, 3 deletions
indra/newview/llcoproceduremanager.cpp
with
5 additions
and
3 deletions
indra/newview/llcoproceduremanager.cpp
+
5
−
3
View file @
6e448739
...
...
@@ -139,14 +139,14 @@ LLCoprocedureManager::~LLCoprocedureManager()
LLCoprocedureManager
::
poolPtr_t
LLCoprocedureManager
::
initializePool
(
const
std
::
string
&
poolName
)
{
// *TODO: Retrieve the actual number of concurrent coroutines fro gSavedSettings and
// clamp to a "reasonable" number.
// Attempt to look up a pool size in the configuration. If found use that
std
::
string
keyName
=
"PoolSize"
+
poolName
;
int
size
=
5
;
size
=
gSavedSettings
.
getU32
(
keyName
);
if
(
size
==
0
)
{
{
// if not found grab the know default... if there is no known
// default use a reasonable number like 5.
std
::
map
<
std
::
string
,
U32
>::
iterator
it
=
DefaultPoolSizes
.
find
(
poolName
);
if
(
it
==
DefaultPoolSizes
.
end
())
size
=
DEFAULT_POOL_SIZE
;
...
...
@@ -165,6 +165,8 @@ LLCoprocedureManager::poolPtr_t LLCoprocedureManager::initializePool(const std::
//-------------------------------------------------------------------------
LLUUID
LLCoprocedureManager
::
enqueueCoprocedure
(
const
std
::
string
&
pool
,
const
std
::
string
&
name
,
CoProcedure_t
proc
)
{
// Attempt to find the pool and enqueue the procedure. If the pool does
// not exist, create it.
poolPtr_t
targetPool
;
poolMap_t
::
iterator
it
=
mPoolMap
.
find
(
pool
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment