Pneumagination Fixed Threading
Today’s small progress is multithreading being fully fixed! Yknow I was sitting here struggling so hard between making sure threads were being used and them being async, working out which things blocked and which didn’t, wondering why threads were dissapearing and never finishing-
Turns out Task.Run() is multithreaded. I thought it was an async system. I was nesting Task.Run’s inside threads and everything was messing up bad. I just learned now that the Thread class is basically worthless compared to tasks (in relation to async tasks, blocking multithreaded work should still use Thread). Sucks but I’m glad I now know that Task is a really awesome pooled thread solution for offloading work!
That’s all I managed to get done today, too busy but its slowly coming along.