Marek Olsak wrote:
> I've just realized I might have to limit the compilation of optimized shader 
> variants to only a limited number of threads, so that apps aren't slowed down 
> by this.

As a temporary fix before using a thread pool, the threads can have a
lower priority:

$ man setpriority

setpriority(which, who, min(getpriority(...)+5, 19));

Jan
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to