AREV V3.12 - Yield to Windows setting - is it necessary? (AREV Specific)
At 20 OCT 1997 08:54:50AM Kevin at KPW wrote:
Is it necessary to set the system flag to Yield to Windows when using AREV V3.12 with Win95/Win NT?
What impact, if any, does this have?
Kevin at KPW
email [email protected]
At 20 OCT 1997 10:04AM Aaron Kaplan wrote:
It's not necessary, but you'd be much happier if you did. The YIELD opcode tells the OS to switch away from this task. Since ARev is always using processing power, the OS will allocate much to much time to the session. Since yield is only called by the system while sitting in the input.char loop, the while the ARev is waiting for input, the OS will not devote massive amounts of processing time to it.
You can also just place YIELD() into your code to return processing back, if you know you have a long process and do not want to slow the system down.