Article View: comp.windows.ms
Article #13440Re: Yield?
From: Bill Turner
Date: Wed, 11 Jan 1989 18:48
Date: Wed, 11 Jan 1989 18:48
12 lines
847 bytes
847 bytes
> One alternative is to break your painting into a number of smaller tasks > and do them in response to WM_TIMER messages, with the timer set up by > WM_PAINT. In this way, other messages can be processed between the > timer messages. The only problem with this is that your application will still control the CPU, starving all other tasks. Task switching isn't done unless the messgae queue is empty. Let's hear it for a non-preemptive multitasking system! :-) --Bill Turner
Technical Details
Message-ID:
<106580014@hpcvlx.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!hplabs!hp-pcd!hpcvlx!bturnerReferences:
<33575@grapevine.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!hplabs!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.HP.COM (Bill Turner) Newsgroups: comp.windows.ms Subject: Re: Yield? Message-ID: <106580014@hpcvlx.HP.COM> Date: 11 Jan 89 18:48:34 GMT References: <33575@grapevine.uucp> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 12