Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2924f6d4 authored by Varad Gautam's avatar Varad Gautam Committed by Android (Google) Code Review
Browse files

Merge "GpuWork: Delay GpuWork thread initialization" into main

parents d3dae29b b0684da4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -118,6 +118,9 @@ GpuWork::~GpuWork() {
}

void GpuWork::initialize() {
    // Workaround b/347947040 by allowing time for statsd / bpf setup.
    std::this_thread::sleep_for(std::chrono::seconds(30));

    // Make sure BPF programs are loaded.
    bpf::waitForProgsLoaded();