TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Leslie Rhorer
from: David Noon
date: 1996-07-13 19:05:08
subject: Named Pipes

On Wednesday, 96/07/10, Leslie Rhorer wrote to David Noon about "Named
Pipes" as follows:

LR>  DN> I think the problem is that he has no buffer space for sending
LR>  DN> messages, only for receiving.
LR> 
LR>         That's odd.  I wonder why he set it up that way.  I 
LR> can see how this could possibly be a problem, but then why 
LR> does it work on his machine, and not mine?

Hi Les,

Does he have some networking software that offers "value added" pipe
support? Something along those lines might provide buffers where
vanilla OS/2 doesn't.

LR> required.  At the moment, I simply use trial and error and 
LR> a hand-set delay to have the apps start simultaneously.  

There is, I believe, a DOS interrupt available in a VDM that can
access an event semaphore created by an OS/2 process. [I don't have my
copy of Ralf Brown's list handy.] This would have much less latency for
synching DOS and OS/2 processes than a named pipe transmission.

LR> The long term answer may be to incorporate both codes into 
LR> a single code under a single compiler, and use directly 

This would be the ideal solution. The event semaphores would simply
operate across threads.

LR> interim measure, I may have the music code write to I/O 
LR> ports, which should be faster and more uniform than named 
LR> pipes.

Device driver calls are preferable to hitting I/O ports, since you
don't need to poll. Let the IRQ do the work for you. It also doesn't
need IOPL-enabled code. [Ugly 16-bit stuff.]

Regards

Dave


 * KWQ/2 1.2i * FIDO = Flames In, Drivel Out?

--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 624 628 713/888 800/1
@PATH: 440/4 141/209 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™.