Topic: How do I reduce the time slice of a bc4.0 windows app so that it doesnt suck all system


Author: djwillms@whale.st.usm.edu (Daniel James Williams)
Date: 25 Oct 1994 19:05:08 GMT
Raw View
  Please email me back, I just need to know how to reduce the time slice
of a windows app down to a manageable amount of time.

Like if I wrote an app that was :
#include <conio.h>
#inlucde <stdlib.h>
#include <stdio.h>
void main()
{
  int a;
  for (a=1; a<=10000; a++)
  {
    printf("%d",a);
  }
}


And I wanted it to run with a small time slice, (like in the background)
whats the code to add to it to make it do smaller time slices. The problem is
that I cant even switch to the task manager to kill the damn thing until
it ends  because it eats all cpu time.