3 ms·
No need for a lock for such synchronization between a loading thread and a rendering thread, though, when you can use an atomic pointer or ready flag. Maybe a
by smaddox 7y ago
No need for a lock for such synchronization between a loading thread and a rendering thread, though, when you can use an atomic pointer or ready flag.
Maybe a lazy GUI framework could use a mutex timout, though.