[ros-dev] Re: [ros-diffs] [weiden] 18883: fix some flags calculations and access rights in CreateNamedPipe and CreatePipe

Thomas Weidenmueller w3seek at reactos.com
Mon Oct 31 17:59:27 CET 2005


Hartmut Birr wrote:
> This change does break the using of pipes which are created by
> CreatePipe. Usually it isn't necessary to open the end of the pipe in
> share mode. Each opening request generates a new instance of a pipe.
> FILE_SHARE_READ doesn't make sense, because this pipe-end is opened for
> write access. If FILE_SHARE_READ|FILE_SHARE_WRITE is used, npfs.sys
> interprets it as a special value and doesn't connect the pipe. This
> breaks compiling ros on ros.

Well, these are the values used in windows...Just install an api hook
and see yourself ;)

- Thomas


More information about the Ros-dev mailing list