Go to file
Monty Brandenberg 196e1d46bd Lock/Mutex fixes, documentation, new resource wait state, dtor cleanups
Went through all the code and tried to document lock and thread usage
in the module.  There's a huge comment block introducing all of this
at the beginning and I believe it's correct (though not quite complete).
Keep it updated, people.  Added a new state, WAIT_HTTP_RESOURCE, that's
sort of a side-state of SEND_HTTP_REQ.  If we hit a high-water mark
for HTTP requests, the extra are shunted to the new state once.  Once
levels fall to a low-water mark, we run through a wait list of UUIDs,
sort the valid ones by priority and release them for service.  This
keeps the HTTP layer busy while leaving the active queue shallow enough
that requests can still be re-prioritzed cheaply.  Priority model
changed.  The new state uses the PRIORITY_LOW mask, the old users
of _LOW are now at PRIORITY_NORMAL and sleepers woken up after an
external event are kicked off at PRIORITY_HIGH.  This combination
along with the new state should avoid priority inversion and keep
things running without resorting to an infinite pipeline.  New
state displays as "HTW" with green text in the texture console.
Request cancelation and worker run-down should now be more
correct but this edge case may need more attention.
2012-06-07 17:46:22 -04:00
doc merge changes for storm-1799 2012-01-23 14:17:21 -05:00
etc Automated merge up from viewer-development 2011-01-14 14:16:07 -05:00
indra Lock/Mutex fixes, documentation, new resource wait state, dtor cleanups 2012-06-07 17:46:22 -04:00
scripts fix typo in flag for -u option 2011-10-06 16:30:32 -04:00
.hgignore Adding *.diff to ignored files. 2011-10-19 00:35:18 +01:00
.hgtags Added tag 3.3.0-release for changeset 5e8d2662f38a 2012-03-21 12:14:36 -04:00
BuildParams update build params for oz viewer-trial build 2011-12-19 15:25:39 -05:00
autobuild.xml Build llcorehttp as part of a viewer dependency with unit tests. This required 2012-05-07 15:16:31 -04:00
build.sh Re-indent teamcity service messages when scanning build logs to fix incredibuild formatting. 2011-07-20 11:48:57 -07:00