Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26412
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: Pass data to a subprocess |
| Date | 2012-08-02 13:21 -0400 |
| Organization | > Bestiaria Support Staff < |
| References | (4 earlier) <mailman.2809.1343809166.4697.python-list@python.org> <jvbdoj$rat$1@reader1.panix.com> <mailman.2830.1343831530.4697.python-list@python.org> <jvc160$a1b$1@reader1.panix.com> <501A19F3.5040201@shopzeus.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2879.1343928125.4697.python-list@python.org> (permalink) |
On Thu, 02 Aug 2012 08:10:59 +0200, Laszlo Nagy <gandalf@shopzeus.com>
declaimed the following in gmane.comp.python.general:
> I stand corrected. It should still be examined, what kind shared memory
> is used under non-linux systems. System V on AIX? And what about
> Windows? So maybe the general answer is still no. But I guess that the
> OP wanted this to work on a specific system.
>
From an ancient MSDN disk (goes back to VB6):
"""
Shared Memory
The Win32 API uses a special case of file mapping to provide shared
memory access between processes. If you specify the system swap file
when creating a file-mapping object, the file-mapping object is treated
as a shared memory block. Other processes can access the same block of
memory by opening the same file-mapping object (see File Mapping).
Because shared memory is implemented with file mapping, it supports
security access attributes and can operate only between processes
running on the same computer.
For information about shared memory, see "General Library" in the
"Windows Base Services" section of the Microsoft Platform SDK.
"""
There is also the MFC CSharedFile class.
.NET prior to Framework v4 did not implement mapped files.
I believe Python exposes this (the Win32 aspect) via mmap.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Pass data to a subprocess Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-01 10:19 +0200
Re: Pass data to a subprocess Roy Smith <roy@panix.com> - 2012-08-01 06:59 -0400
Re: Pass data to a subprocess Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-01 13:07 +0200
Re: Pass data to a subprocess Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-01 13:26 +0200
Re: Pass data to a subprocess andrea crotti <andrea.crotti.0@gmail.com> - 2012-08-01 14:25 +0100
Re: Pass data to a subprocess Roy Smith <roy@panix.com> - 2012-08-01 15:07 -0400
Re: Pass data to a subprocess Grant Edwards <invalid@invalid.invalid> - 2012-08-01 14:16 +0000
Re: Pass data to a subprocess Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-01 16:32 +0200
Re: Pass data to a subprocess Grant Edwards <invalid@invalid.invalid> - 2012-08-01 19:48 +0000
Re: Pass data to a subprocess Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-02 08:10 +0200
Re: Pass data to a subprocess Grant Edwards <invalid@invalid.invalid> - 2012-08-02 14:29 +0000
Re: Pass data to a subprocess Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-08-02 13:21 -0400
Re: Pass data to a subprocess Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-01 16:42 +0200
Re: Pass data to a subprocess andrea crotti <andrea.crotti.0@gmail.com> - 2012-08-01 16:24 +0100
csiph-web