🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1079

Re: Idle dos box/giveup time slice, how?

#1079
From: Turgut Kalfaoglu
Date: Tue, 18 Aug 1992 14:21
7 lines
674 bytes
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
Technical Details
Message-ID: <92231.142141TURGUT@FRMOP11.BITNET>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!blekul11!frmop11!turgut
References: <mg.714119080@elan>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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