TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Adrian Wilkinson
from: Rob Basler
date: 1995-03-23 10:38:00
subject: Borand Turbo C and relea

AW>Could someone post or netmail me some details on how to get Turbo C++ to
AW>release timeslices during a sleep or input statement.  Some
AW>example code would be nice - I am only a advanced beginner
AW>(IYSWIM) and want to use sleep statements, but they hog the
AW>CPU time.  By the way - I want to this under a DOS session.

This is the DOS idle call:

union REGS r;
r.x.ax=0x1680;
int86(0x2f,&r,&r);

Rob.
___
 X SLMR 2.1a X Nothing is so smiple that it can't get screwed up.

--- Maximus/2 2.01wb
* Origin: The Idle Task... (604)275-0835 Richmond BC. (1:153/905)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 153/905 828 800 270/101 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.