title: Time quantum per process per thread
body: <p>I have a question pertaining to time quantum given to processes and threads in windows and linux. </p>
  
  <p>I know operating systems in general give a fixed amount of time quantum per thread. (I know time quantum changes depending on foreground or background threads. May also change depending on the priority of a process.) </p>
  
  <p>Is there a fixed time quantum per process? For eg. If OS gives 36 time quantum per process and if a process has 2 threads then each will get 18 quantum. If number of threads becomes 3 then each will get 12. </p>
  
  <p>However, if a fixed quantum per process does not exist and OS gives fix quantum per thread(No dependency on the parent process.) then I may be able to make my process more efficient by spawning multiple threads.(Assuming I dont have two many mutex/semaphores in my code.) </p>
  
  <p>I have an application which runs on both OS(Windows and linux). So, I am asking it in a general sense. </p>
  
  <p>Thanks</p>