home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4300 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  657 b 

  1. Path: sparky!uunet!news.univie.ac.at!blekul11!frmop11!turgut
  2. Organization: European Academic Research Network (EARN)
  3. Date: Tuesday, 18 Aug 1992 14:21:41 GMT
  4. From: Turgut Kalfaoglu <TURGUT@FRMOP11.BITNET>
  5. Message-ID: <92231.142141TURGUT@FRMOP11.BITNET>
  6. Newsgroups: comp.os.os2.programmer
  7. Subject: Re: Idle dos box/giveup time slice, how?
  8. References:  <mg.714119080@elan>
  9. Lines: 7
  10.  
  11. I think OS/2 'counts' the number of keyboard scans per second. If it
  12. exceeds a certain number, the program is suspected to be polling.
  13. I think there are some things that zero the counter, like I/O..
  14.  
  15. About giving up time to other threads - try a DosSleep(0);
  16.  
  17. Regards, -turgut
  18.