Path: utzoo!utgpu!attcan!uunet!seismo!sundc!pitstop!sun!grapevine!parker From: parker@grapevine.uucp (Parker Waechter) Newsgroups: comp.windows.ms Subject: Yield? Keywords: yield, cpu hog Message-ID: <33575@grapevine.uucp> Date: 6 Jan 89 06:39:51 GMT Organization: Sun Microsystems, Inc. - Mtn View, CA Lines: 10 how does one use the Yield call? I have a function which basicly does a big for loop on every WM_PAINT and I would like it not to hog the cpu the whole time. I tried inserting the "Yield" inside the loop, but other aplications still seem frozen. any hints? Parker ------------------------- Oh yeah....these are my questions/opinions/requests...not anyone elses.