Added nodiscard on the scope lock helpers to prevent such errors in the future.
#jira none
#rnx
#preflight https://horde.devtools.epicgames.com/job/62b49fe89117e2324e187b8d
#rb Francis.Hurteau, Andriy.Tylychko, Rob.Millar
[CL 20797349 by mihnea balta in ue5-main branch]
- Added IRequestOwner::LaunchTask to launch a task as a request in the request owner.
- Renamed ExecuteInCacheThreadPool to LaunchTaskInCacheThreadPool.
- Made GCacheThreadPool private to one source file.
- Changed task scheduling throughout DDC to use these functions where appropriate.
#preflight 623b846d8900c14eecd4daa4
#rb Zousar.Shaker
[CL 19485686 by Devin Doucette in ue5-main branch]