AfxBeginThread takes 100% CPU Usage
i have a thread in my program that always run as long as the program runs ( runs all the time in loop ).
i operate the Thread by the command AfxBeginThread().
i checked the cpu usage of the thead in the task manager, and i saw that the thread takes 100% cpu usage , is that OK? how can i make the CPU usage lower ? ( i tried to switch the priority parameter of the AFXBeginThread function but it doesn't change the CPU usage).:(
Re: AfxBeginThread takes 100% CPU Usage
Hold it, I just noticed something....
Quote:
Originally posted by asaf a
i have a thread in my program that always run as long as the program runs ( runs all the time in loop ).
What do you mean here? That AfxBeginThread() is being called from within a loop or that the loop is running within the thread?