Re: [Boost-bugs] [Boost C++ Libraries] #4827: Windows vs POSIX interface distinction seems unnecessary

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4827: Windows vs POSIX interface distinction seems unnecessary
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-11 22:18:47


#4827: Windows vs POSIX interface distinction seems unnecessary
-------------------------------+--------------------------------------------
  Reporter: psiha | Owner: igaztanaga
      Type: Tasks | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by psiha):

 AFAICT it should be enough to call NtCreateSection with
 OBJECT_ATTRIBUTES::Attributes
  (http://msdn.microsoft.com/en-us/library/ff557749(VS.85).aspx) set to
 OBJ_PERMANENT...
 Also look into:
 NtMapViewOfSection
 NtMakeTemporaryObject
 NtQuerySection
 NtExtendSection ...

 See http://undocumented.ntinternals.net ...

 Also, sometimes good/better information can be found in driver oriented
 documentation that use the Zw-prefixed functions (e.g.
 http://www.osronline.com/ddkx/kmarch/k111_4oc2.htm) which are equivalent
 to the Nt ones (but for kernel mode code)...

 ps. as mentioned in the original post, I'm willing to help...what I
 primarily want is a no-bloat/STL-uncluttered shared memory/mapped memory
 implementation (i.e. that 'looks' and 'acts' 'C++ kosher' but is
 optimizer-transparent enough so that it compiles to code nearly identical
 as if the OS calls were manually/hand coded, as was demonstrated in the
 post linked to in the trac ticket 4234)...so if you want I can try and
 provide such a collection of lower level layer primitives (that I've, as
 mentioned, already started developing for GIL.IO) which you can then wrap
 as needed...

 pps. this is a fork of the original thread:
 http://lists.boost.org/Archives/boost/2010/10/172227.php

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4827#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC