🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #13418

Yield?

#13418
From: Parker Waechter
Date: Fri, 06 Jan 1989 06:39
10 lines
703 bytes
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.
Technical Details
Message-ID: <33575@grapevine.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!seismo!sundc!pitstop!sun!grapevine!parker

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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