What is the best way to deal with input and multithreading?
I was thinking of having a class that would store bool vars for each key (up=false, down=true) and having a processing flag that would be used to bypass winProc input updates when the input class is being accessed by another part of the program. Does this sound like a good plan?
I was thinking of having a class that would store bool vars for each key (up=false, down=true) and having a processing flag that would be used to bypass winProc input updates when the input class is being accessed by another part of the program. Does this sound like a good plan?
The post was edited 1 time, last by Roster ().