How does multithreading work? I know it doesn't actually send two things to the processer at once... it probably just keeps switching between them.

My reasoning is I want to do mouse input, but I want it to check without pausing for input.