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