home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!steve
- From: steve@monu6.cc.monash.edu.au (Steve Balogh (+61 3 565 4747))
- Subject: Re: Giving up the CPU in a Windows App ?
- Message-ID: <1992Aug31.080924.24577@monu6.cc.monash.edu.au>
- Organization: Monash University, Melbourne, AUSTRALIA
- References: <1992Aug28.165118.16988@tandem.com>
- Date: Mon, 31 Aug 1992 08:09:24 GMT
- Lines: 23
-
- In article <1992Aug28.165118.16988@tandem.com> stu@Tandem.COM writes:
- >I have a Windows application that I'm writing that needs to process a bunch
- >of data before displaying any more results. The time needed for the
- >processing is sufficiently long that it would be nice to run it in the
- >background and give the illusion of multi-tasking.
- >
- >Whats the best way to release the processor and yet insure that the
- >application gets sent another message by Windows in order to get some
- >more processing done ? Clearly I have to return from the Window proc
- >in order to get Windows to run something else but what is the API call
- >to best accomplish this ?
-
- Yield(...)
-
-
- Regards,
- Steve
-
- ----_--_-_-_--_-__-_------_-__---_-___-_----_-____-_-_--__-_--_--___-_-_-_--__-_
- Steve Balogh VK3YMY (Maths G.14) | steve@monu6.cc.monash.edu.au
- Monash University, Clayton Campus | 37 54'38.8"S 145 07'47.1"E ...ICBM
- Wellington Road, Clayton. | +61 3 565 4747 Voice (Office)
- Melbourne, AUSTRALIA. 3168 | +61 3 565 4746 Fax
-