TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Timo Sirainen
from: Bob Plyler
date: 1995-12-27 15:38:00
subject: Timeslices

* In a message originally to All, Timo Sirainen said:
 > 3615/50
 > Can I give timeslices to OS/2 in OS/2 prog? Or how should I
 > do this kind of program:

Instead of polling the keyboard, you should wait for a key,
possibly in another thread.  Anyway, if you do a DosSleep(1),
you will give away the rest of your timeslice.

Bob Plyler

--- GEcho 1.11+
* Origin: The Transporter Room: 16 lines SLIP/Telnet/FTP 704/567-9513 (1:379/1)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515
SEEN-BY: 712/517 628 713/888 800/1 7877/2809
@PATH: 379/1 3615/50 396/1 270/101 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™.