TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Rob Hamerling
date: 1997-03-06 19:44:10
subject: sleep of 1 msec

Hi All,

I am writing an OS/2 device driver (first attempt!) for a realtime
application transmitting data to devices via an RS-232 port, mode
38400,6,n,1. Output is typically 10 to 20 bytes with a required pause
between these 'frames' of 0.6 or 1.2 (the transmission time of 3 or 6
characters), during which the line must be idle (no 'dummy' characters
allowed).  How do I obtain such short intervals reasonably accurate?
Note: The timing is needed in interrupt state of the device driver and the
requesting thread is blocked.
Code samples or references to exiting sources are appreciated!!.
  
Cheers, Rob 
--- timEd/2 1.10+
* Origin: Root of Downsort, Netherlands [31-347-322423] (2:281/732)
SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 281/732 703 1 280/801 270/101 712/624 711/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™.