🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2685

Re: What does Yield do?

#2685
From: Eric Bergman-Terrell
Date: Thu, 16 May 1991 14:03
16 lines
1278 bytes
About Yield():

"This function halts the current task and starts any waiting task...

Applications that contain windows should use a DispatchMessage, PeekMessage,
or TranslateMessage loop rather than calling the Yield function directly.  The
PeekMessage loop handles message synchronization properly and yeilds at the
appropraite times".

Prog. Ref., 4-469

BTW consider getting the Prog. Ref. at a bookstore.  IMHO it's worth the 
money.

Terrell
Technical Details
Message-ID: <1991May16.140358.6605@mnemosyne.cs.du.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mnemosyne.cs.du.edu!isis.cs.du.edu!ebergman
References: <1991May16.121553.3876@maytag.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mnemosyne.cs.du.edu!isis.cs.du.edu!ebergman
From: ebergman@isis.cs.du.edu (Eric Bergman-Terrell)
Newsgroups: comp.windows.ms.programmer
Subject: Re: What does Yield do?
Message-ID: <1991May16.140358.6605@mnemosyne.cs.du.edu>
Date: 16 May 91 14:03:58 GMT
References: <1991May16.121553.3876@maytag.waterloo.edu>
Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
Reply-To: ebergman@isis.UUCP (Eric Bergman-Terrell)
Organization: Nyx, Public Access Unix (sponsored by U. of Denver Math/CS dept.)
Lines: 16
Disclaimer1: Nyx is a public access Unix system run by the University of
Disclaimer2: Denver for the Denver community.  The University has neither
Disclaimer3: control over nor responsibility for the opinions of users.