home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!usc!cs.utexas.edu!torn!skule.ecf!kumarad
- From: kumarad@ecf.toronto.edu (KUMARADAS JOSEPH CARL)
- Subject: Re: OS/2 Comm Problems - Fixed? Read On
- Message-ID: <BzpB35.9JH@ecf.toronto.edu>
- Organization: University of Toronto, Engineering Computing Facility
- References: <1h8qg0INNpa6@cae.cad.gatech.edu>
- Date: Wed, 23 Dec 1992 07:21:04 GMT
- Lines: 34
-
- In article <1h8qg0INNpa6@cae.cad.gatech.edu> chris@cad.gatech.edu (Chris McClellen) writes:
- >
- >My only problem is now, HOW DO I TELL OS/2 my tasks are IMPORTANT,
- >even though I am not pressing a key!?!?!?!? The people who did wordprocessing,
- >etc while downloading didnt have a problem, because they are hitting
- >keys. However, When I download in the background, I may be compiling something
- >under dos. If I dont hold down a key in the compiler session, It will basically
- >freeze until the transfer is over. This is SERIOUSLY annoying. Right now,
- >it means I really CANT multitask DOS apps during a transfer. And
- >believe it or not, I still have to code DOS apps too.
- >
- >If anyone at IBM is listening: Who made the decision to declare a process
- >idle if no keystrokes are being generated??? Thats the same thing MSWindows
- >does, and is a cop out. Why didnt you run some kind of algorythm to check
- >to see if the program is calculating, etc, versus sitting in a readkey loop??
- >It is causing me serious problems.
- >
- >If IBM doesnt fix this soon, Its off to the next OS, but hopefully, they
- >WILL fix it.
- >
- You can set this with the idle sensitivity and idle time in the settings
- notebook. Set IDLE_SENSITIVITY=100, IDLE_SECONDS>5 which will basically
- disable idel detection. Under lame DOS this is the only way I can think
- of for detecting if a program is "idle". Programs are always exectuing
- CPU instructions, so "idle" is defined as the state of waiting for input.
- This is usually done under dos by polling the key-board via a DOS call
- interupt. OS/2 vertualizes this interrupt and uses it for idle detection.
-
- This work fine for most normal programs (especially wordproccesor which
- spend most of their time waiting for keyboard input). The only problem
- is with programs such as comm programs.
-
- Carl.
-
-