SrejonKhan / AsyncImageLibrary

Load Image(Texture) in Unity without blocking the main thread, with the full advantage of SkiaSharp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThreadPool Max Thread Settings is hard coded

SrejonKhan opened this issue · comments

During development, it was hardcoded set to the development environment's logical processor. Which should be replaced with actual runtime environment.

ThreadPool.SetMaxThreads(12, 12);

I'm still not sure if it's the right way to set max thread count the same as logical processor count. I will update this if needed when I will have more knowledge about concurrency. Although I'm closing this. Pretty late to fix!