phoenix-firestorm/indra/llcommon
Nat Goodspeed 04ebc11a2d SL-16094: Fix WorkQueue test for correct behavior of runFor().
Turns out that one of our WorkQueue integration tests was relying on the
incorrect runFor() behavior that we just fixed, so the test broke. Now that
runFor() doesn't wait around for work to be posted, use an explicit wait loop
instead.

To support this, add LLCond::get(functor), where functor must accept a const
reference to the stored data. This new get() returns whatever the functor
returns, allowing a caller to peek at the stored data.

Also use universal references for all remaining LLCond functor arguments.
2021-11-24 12:56:48 -05:00
..
tests SL-16094: Fix WorkQueue test for correct behavior of runFor(). 2021-11-24 12:56:48 -05:00
CMakeLists.txt DRTVWR-546, SL-16220, SL-16094: Undo previous glthread branch revert. 2021-11-24 10:47:54 -05:00
StackWalker.cpp DRTVWR-476: Fix Windows line endings 2020-03-25 18:47:13 -04:00
StackWalker.h DRTVWR-476: Eliminate unnecessary typedefs from struct, enum decls. 2020-03-25 16:12:46 -04:00
chrono.h SL-16024: Add ThreadSafeSchedule, a timestamped LLThreadSafeQueue. 2021-10-05 17:31:53 -04:00
ctype_workaround.h
fix_macros.h
indra_constants.cpp Merge 6.3.1 viewer-release 2019-08-26 12:35:18 -07:00
indra_constants.h Reverted SL-6109 keybinding changes 2020-06-23 16:55:06 +03:00
is_approx_equal_fraction.h
linden_common.h SL-16027: Add Tracy OpenGL support 2021-09-21 16:10:52 -07:00
llalignedarray.h
llallocator.cpp
llallocator.h
llallocator_heap_profile.cpp
llallocator_heap_profile.h
llapp.cpp Merge branch 'master' into DRTVWR-520-apple-notarization 2021-08-12 23:13:12 +03:00
llapp.h Merge branch 'master' into DRTVWR-520-apple-notarization 2021-08-12 23:13:12 +03:00
llapr.cpp SL-13034 Last string in logs should say 'Goodbye' 2020-09-25 17:02:22 +03:00
llapr.h DRTVWR-510 remove all LL_SOLARIS conditionals 2020-10-08 17:16:22 -06:00
llassettype.cpp Mods to make merge with viewer-release have less whitespace-only change and fix diffs between EEP and VR. 2019-03-13 13:21:48 -07:00
llassettype.h Merge 2018-09-26 13:46:45 -07:00
llatomic.cpp SL-10291 Replace apr_atomic with standard C++11 functionality 2019-01-15 18:31:17 +02:00
llatomic.h SL-10291 Replace apr_atomic with standard C++11 functionality 2019-01-15 18:31:17 +02:00
llbase32.cpp
llbase32.h
llbase64.cpp
llbase64.h
llbitpack.cpp
llbitpack.h
llboost.h
llcallbacklist.cpp
llcallbacklist.h
llcallstack.cpp
llcallstack.h
llcleanup.cpp SL-13034 Last string in logs should say 'Goodbye' 2020-09-25 17:02:22 +03:00
llcleanup.h SL-13034 Last string in logs should say 'Goodbye' 2020-09-25 17:02:22 +03:00
llclickaction.h
llcommon.cpp SL-16243 Followup -- fix for inconsistently calling TracyAlloc/TracyFree 2021-10-26 09:23:17 -05:00
llcommon.h
llcommonutils.cpp
llcommonutils.h
llcond.h SL-16094: Fix WorkQueue test for correct behavior of runFor(). 2021-11-24 12:56:48 -05:00
llcoros.cpp Merge branch 'master' into DRTVWR-521-maint 2021-07-20 02:48:05 +03:00
llcoros.h Merge branch 'master' into DRTVWR-521-maint 2021-07-20 02:48:05 +03:00
llcrc.cpp
llcrc.h
llcriticaldamp.cpp
llcriticaldamp.h
lldate.cpp SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
lldate.h
lldeadmantimer.cpp
lldeadmantimer.h
lldefs.h
lldependencies.cpp
lldependencies.h
lldepthstack.h
lldictionary.cpp
lldictionary.h
lldoubledispatch.h
llendianswizzle.h
llerror.cpp DRTVWR-546 merge in master v6.5.1 2021-11-16 11:44:55 -07:00
llerror.h SL-16093 Don't force the console window to be open on developer builds because it causes frame stalls while logging. 2021-09-27 23:56:06 +00:00
llerrorcontrol.h SL-16093 Don't force the console window to be open on developer builds because it causes frame stalls while logging. 2021-09-27 23:56:06 +00:00
llerrorlegacy.h
llerrorthread.cpp
llerrorthread.h
llevent.cpp
llevent.h
lleventapi.cpp
lleventapi.h
lleventcoro.cpp DRTVWR-476, SL-13512: Fix flawed fix for former failure. 2020-06-26 14:40:07 -04:00
lleventcoro.h SL-793: Use Boost.Fiber instead of the "dcoroutine" library. 2020-03-25 17:32:45 -04:00
lleventdispatcher.cpp
lleventdispatcher.h
lleventemitter.h
lleventfilter.cpp DRTVWR-476: Defer #include "lleventtimer.h" until lleventfilter.cpp. 2020-03-25 19:00:10 -04:00
lleventfilter.h SL-16014: Add Tracy markup for LLEventFilter 2021-09-22 14:38:44 -07:00
llevents.cpp SL-15093 Crash nanov2_free_to_block 2021-05-28 19:54:16 +03:00
llevents.h SL-15093 Crash nanov2_free_to_block #2 2021-05-31 19:36:36 +03:00
lleventtimer.cpp DRTVWR-494: Streamline LLEventTimer::updateClass(). 2020-03-25 15:28:17 -04:00
lleventtimer.h DRTVWR-476: Add LLEventTimer::run_every(), run_at(), run_after(). 2020-03-25 18:59:10 -04:00
llexception.cpp SL-14347 Crash at ChoosePixelFormat SEH 2020-12-01 18:22:24 +02:00
llexception.h SL-14347 Crash at ChoosePixelFormat SEH 2020-12-01 18:22:24 +02:00
llfasttimer.cpp SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
llfasttimer.h SL-15709: Cleanup 2021-09-03 17:53:44 -07:00
llfile.cpp SL-10153: Review and rationalize fetching paths from environment. 2018-12-14 15:38:13 -05:00
llfile.h DRTVWR-476: Add LLUniqueFile, adding RAII semantics to LLFILE*. 2020-03-25 19:05:17 -04:00
llfindlocale.cpp
llfindlocale.h
llfixedbuffer.cpp SL-10291 Replace apr_mutex with standard C++11 functionality 2019-01-14 22:04:44 +02:00
llfixedbuffer.h
llformat.cpp
llformat.h
llframetimer.cpp SL-15709: Windows: Include Tracy source directly; don't use a library 2021-09-15 13:52:59 -06:00
llframetimer.h
llhandle.h
llhash.h
llheartbeat.cpp
llheartbeat.h
llheteromap.cpp
llheteromap.h
llindexedvector.h
llinitdestroyclass.cpp
llinitdestroyclass.h
llinitparam.cpp
llinitparam.h DRTVWR-474: Do NOT autokill updater process on viewer termination. 2018-10-03 14:00:05 -04:00
llinstancetracker.cpp DRTVWR-494: Move LL_ERRS out of llinstancetracker.h header file. 2020-03-25 15:28:17 -04:00
llinstancetracker.h SL-16024: Return shared_ptr from LLInstanceTracker::getInstance(). 2021-10-07 11:53:45 -04:00
llkeybind.cpp SL-6109 Fixed issue with llcontrols ignoring left mouse button with masks 2020-06-24 15:28:01 +03:00
llkeybind.h Reverted SL-6109 keybinding changes 2020-06-23 16:55:06 +03:00
llkeythrottle.h
llkeyusetracker.h
llleap.cpp SL-10297: Move LL_ERRS crash location into the LL_ERRS macro itself. 2021-05-11 21:42:14 -04:00
llleap.h DRTVWR-474: Do NOT autokill updater process on viewer termination. 2018-10-03 14:00:05 -04:00
llleaplistener.cpp SL-16024: Return shared_ptr from LLInstanceTracker::getInstance(). 2021-10-07 11:53:45 -04:00
llleaplistener.h DRTVWR-476: Eliminate static LLEventPump factory maps. 2020-03-25 18:58:16 -04:00
llliveappconfig.cpp
llliveappconfig.h
lllivefile.cpp Mods to make merge with viewer-release have less whitespace-only change and fix diffs between EEP and VR. 2019-03-13 13:21:48 -07:00
lllivefile.h
llmainthreadtask.cpp DRTVWR-494: Add LLMainThreadTask to perform work on the main thread. 2020-03-25 15:28:17 -04:00
llmainthreadtask.h DRTVWR-494: Remove LLMainThreadTask::dispatch(LockStatic&, ...) 2020-03-25 15:28:17 -04:00
llmake.h DRTVWR-476: Engage variadic llmake() implementation. 2020-03-25 18:52:10 -04:00
llmd5.cpp
llmd5.h
llmemory.cpp SL-16093 Don't force the console window to be open on developer builds because it causes frame stalls while logging. 2021-09-27 23:56:06 +00:00
llmemory.h SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
llmemorystream.cpp
llmemorystream.h
llmetricperformancetester.cpp
llmetricperformancetester.h
llmetrics.cpp
llmetrics.h
llmortician.cpp SL-10908 Output class names we are clearing on startup 2019-05-27 17:32:53 +03:00
llmortician.h SL-10908 Output class names we are clearing on startup 2019-05-27 17:32:53 +03:00
llmutex.cpp SL-16093 Don't force the console window to be open on developer builds because it causes frame stalls while logging. 2021-09-27 23:56:06 +00:00
llmutex.h DRTVWR-494: Use std:🧵:id for LLThread::currentID(). 2020-03-25 15:28:17 -04:00
llnametable.h
llpointer.h
llpounceable.h
llpredicate.cpp
llpredicate.h
llpreprocessor.h SL-16207: Update llstring.h handling of different string types. 2021-10-27 13:01:37 -04:00
llpriqueuemap.h
llprocess.cpp DRTVWR-476: Fix confusing comment in LLProcess::handle_status(). 2020-03-25 18:44:04 -04:00
llprocess.h
llprocessor.cpp AMD CPUs list update 2020-04-21 00:35:19 +03:00
llprocessor.h
llprocinfo.cpp
llprocinfo.h
llprofiler.h SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
llptrto.cpp
llptrto.h
llqueuedthread.cpp
llqueuedthread.h SL-10291 Replace apr_atomic with standard C++11 functionality 2019-01-15 18:31:17 +02:00
llrand.cpp
llrand.h
llrefcount.cpp SL-10291 cleanup-mutex 2019-01-17 01:53:27 +02:00
llrefcount.h DRTVWR-494: Use std:🧵:id for LLThread::currentID(). 2020-03-25 15:28:17 -04:00
llregex.h SL-2202 Add exception handling around boost::regex_match() calls in the viewer 2021-01-11 17:07:03 +02:00
llregistry.h
llrun.cpp
llrun.h
llsafehandle.h
llsd.cpp SL-16197 Optimize LLEnvironment handling of shader uniforms. Instrument LLSD. Enable Fast Timers when Tracy is enabled to catch Fast Timer overhead. 2021-10-19 02:26:41 +00:00
llsd.h SL-16197 Optimize LLEnvironment handling of shader uniforms. Instrument LLSD. Enable Fast Timers when Tracy is enabled to catch Fast Timer overhead. 2021-10-19 02:26:41 +00:00
llsdjson.cpp
llsdjson.h
llsdparam.cpp SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
llsdparam.h SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
llsdserialize.cpp DRTVWR-476: Make LLSDFormatter::OPTIONS_PRETTY_BINARY uppercase 2020-05-14 08:54:15 -04:00
llsdserialize.h DRTVWR-476: Default LLSDNotationFormatter now OPTIONS_PRETTY_BINARY. 2020-05-13 16:37:12 -04:00
llsdserialize_xml.cpp DRTVWR-476: Default LLSDNotationFormatter now OPTIONS_PRETTY_BINARY. 2020-05-13 16:37:12 -04:00
llsdserialize_xml.h
llsdutil.cpp SL-16014: Add Tracy markup for LLSD 2021-09-22 14:38:43 -07:00
llsdutil.h Put hash for boost namespace properly into that by using namespace boost 2020-07-22 06:48:15 +03:00
llsimplehash.h
llsingleton.cpp SL-10297: Simplify implementation of LLSingletonBase::logwarns() etc. 2021-05-12 09:46:49 -04:00
llsingleton.h DRTVWR-546, SL-16220, SL-16094: Undo previous glthread branch revert. 2021-11-24 10:47:54 -05:00
llsmoothstep.h
llstacktrace.cpp DRTVWR-476: Fix Windows line endings 2020-03-25 18:47:13 -04:00
llstacktrace.h
llstatenums.h
llstaticstringtable.h
llstatsaccumulator.h
llstl.h Revert "Merge branch 'c++17' into DRTVWR-522-maint" 2021-09-28 19:22:18 +03:00
llstreamqueue.cpp
llstreamqueue.h
llstreamtools.cpp
llstreamtools.h
llstrider.h
llstring.cpp SL-16094: Merge llstring work from SL-16207 2021-11-23 10:09:26 -05:00
llstring.h SL-16094: Support ll_convert<std::string>(const char*) 2021-11-23 14:25:16 -05:00
llstringtable.cpp
llstringtable.h
llsys.cpp DRTVWR-546 merge in master v6.5.1 2021-11-16 11:44:55 -07:00
llsys.h
lltempredirect.cpp DRTVWR-476: Always clear both fields even if mOrigTarget invalid. 2020-03-25 19:06:13 -04:00
lltempredirect.h DRTVWR-476: Encapsulate dup()/dup2() fd saving as LLTempRedirect. 2020-03-25 19:06:12 -04:00
llthread.cpp SL-16093 Don't force the console window to be open on developer builds because it causes frame stalls while logging. 2021-09-27 23:56:06 +00:00
llthread.h DRTVWR-494: Use std:🧵:id for LLThread::currentID(). 2020-03-25 15:28:17 -04:00
llthreadlocalstorage.cpp DRTVWR-494: Defend LLInstanceTracker against multi-thread usage. 2020-03-25 15:28:17 -04:00
llthreadlocalstorage.h
llthreadsafequeue.cpp SL-10291 Replace apr thread with standard C++11 functionality 2019-01-15 22:27:28 +02:00
llthreadsafequeue.h SL-16094: Fix merge glitches from previous revert. 2021-11-24 09:38:56 -05:00
lltimer.cpp DRTVWR-510 remove all LL_SOLARIS conditionals 2020-10-08 17:16:22 -06:00
lltimer.h DRTVWR-510 remove all LL_SOLARIS conditionals 2020-10-08 17:16:22 -06:00
lltrace.cpp SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
lltrace.h SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
lltraceaccumulators.cpp SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
lltraceaccumulators.h SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
lltracerecording.cpp SL-16329 - track frame time and jitter (as average deviation frame to frame) in stats window 2021-11-19 14:43:19 -05:00
lltracerecording.h SL-16329 - track frame time and jitter (as average deviation frame to frame) in stats window 2021-11-19 14:43:19 -05:00
lltracethreadrecorder.cpp SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
lltracethreadrecorder.h
lltreeiterators.h
llunits.h
llunittype.h
lluri.cpp SL-13843 FIXED URL gets changed when opened in the internal web browse 2020-08-25 15:18:40 +03:00
lluri.h SL-10924 Fix data escaping to accomodate CEF update 2019-04-11 20:29:50 +03:00
lluriparser.cpp SL-14597 Fixed deprecated function and added signal handling 2021-01-21 11:59:27 +00:00
lluriparser.h SL-14597 Fixed deprecated function and added signal handling 2021-01-21 11:59:27 +00:00
lluuid.cpp DRTVWR-510 remove all LL_SOLARIS conditionals 2020-10-08 17:16:22 -06:00
lluuid.h SL-15961 Convert LLMeshRepository::mSkinMap into unordered_map and reduce number of per-frame lookups to said map. 2021-09-15 13:53:00 -06:00
llwin32headers.h
llwin32headerslean.h
llworkerthread.cpp SL-10291 Replace apr_mutex with standard C++11 functionality 2019-01-14 22:04:44 +02:00
llworkerthread.h DRTVWR-494: Use std:🧵:id for LLThread::currentID(). 2020-03-25 15:28:17 -04:00
lockstatic.h DRTVWR-494: Move explanatory comments from LLSingleton to LockStatic. 2020-03-25 15:28:17 -04:00
mutex.h DRTVWR-494: Encapsulate redundant VS boilerplate around <mutex>. 2020-03-25 15:28:17 -04:00
stdtypes.h SL-16207: Update llstring.h handling of different string types. 2021-10-27 13:01:37 -04:00
string_table.h
stringize.h SL-16094: Tweak llstring merge 2021-11-23 10:11:16 -05:00
threadpool.cpp SL-16400: Add ThreadPool::start() method, and call it. 2021-11-23 20:39:32 -05:00
threadpool.h SL-16400: Add ThreadPool::start() method, and call it. 2021-11-23 20:39:32 -05:00
threadsafeschedule.h SL-16094 More profile hooks for threading code, remove redundant wglCreateContextAttribs call 2021-11-22 18:42:56 -06:00
timer.h
tuple.h SL-16024: Introduce tuple.h with tuple_cons(), tuple_cdr(). 2021-10-04 11:48:58 -04:00
u64.cpp
u64.h
workqueue.cpp DRTVWR-546, SL-16220, SL-16094: Undo previous glthread branch revert. 2021-11-24 10:47:54 -05:00
workqueue.h DRTVWR-546, SL-16220, SL-16094: Undo previous glthread branch revert. 2021-11-24 10:47:54 -05:00