TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: James R. Cook
date: 1996-12-25 19:40:32
subject: DosRead blocking

Isn't DosRead supposed to block if no bytes are available to be read?  I'm
playing with serial I/O threads and if DosRead doesn't ever block on a read
from the comm port, there's no reason for the overhead of a thread, mutex
semaphore and all that other garbage.  Thanks!

={) James (}=

--- Blue Wave/DOS v2.30
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 270/101 711/401 409 410 413 808 809 934 955 712/407 515 624 628
@PATH: 106/2000 396/1 270/101 712/515 711/808 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™.