Skip to contentSkip to conversation

Dosemu and clipper applications eating all CPU

DISCUSSION Stas Sergeev 1 participant 1 message Mar 11, 2004

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 2 lines · Maurilio Longo

clipper runtimes calls int 0x21 sub-function 0x2C, I intercept this one and issue a usleep(). every 50 times this function gets called or else I had a sluggish dos

OK, thanks. Now any ideas why it doesn't work right away? Looking into int.c:1201, I get an impression that when hogthreshold==1, usleep() gets called every time the int21/ah=2c is called. So where's the problem? Something wrong about CAN_SLEEP() ?