Keep shared_raw as it is needed for compile cache. But only provide shared_ptr<Executor> to avoid exposing sync.
@@ -22,6 +22,7 @@ public:
SharedThreadingService(const SharedThreadingServiceConfig& cfg);
~SharedThreadingService();
+ std::shared_ptr<vespalib::Executor> shared_raw() { return _shared; }
void sync_all_executors();
vespalib::ThreadExecutor& warmup() override { return _warmup; }
