--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CACv-AFKV%2BoZpofys2NLc8QEHRf4fkR5LSVOw-PA-iEDYYy3syQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAGD3t5Hu%3D33vTuB4M7EndzFHxUehgsWR6kPxO6oBQF-L%2B9oeEw%40mail.gmail.com.
Right, using base::ThreadTaskRunnerHandle::Get doesn't seem the best solution as it has the main thread / IO thread problem that François mentioned.
I find that JingleThreadWrapper has a WrapTaskRunner method that can be used directly, it returns a unique_ptr and does not rely on AddDestructionObserver to maintain the lifetime of the JingleThreadWrapper. Using WrapTaskRunner with a dedicated base::ThreadPool::CreateSingleThreadTaskRunner should be a better solution. +Himanshu Jaju Can we try if this works?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CACv-AF%2BM783bigrm9D3P0_swdTMZYzUCCyXC_eoTvgiC1kLVXw%40mail.gmail.com.