home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1586 < prev    next >
Encoding:
Text File  |  1992-08-30  |  1.5 KB  |  34 lines

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