News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Pipes and Forks?

Started by AeroASM, June 18, 2005, 01:52:28 PM

Previous topic - Next topic

AeroASM

I know how to use a Pipe: you get two handles, and when you write to one end you can read from the other.

Is there any way to create a Fork? Where there are three handles, and you can write to two of them and read from one, or write to one and read from the other two?

The Dude of Dudes

Set bInheritHandle to TRUE for CreatePipe and call DuplicateHandle on one of the created handles to create your 'fork'.

liquidsilver

Why would you want a 'fork'? How would it help?