\(\newcommand{\B}[1]{ {\bf #1} }\)
\(\newcommand{\R}[1]{ {\rm #1} }\)
map_shared
View page source
Map at_cascade Shared Memory Names
Prototype
# at_cascade.map_shared
import platform
import os
def map_shared(shared_name) :
assert type(shared_name) == str
assert type(mapped_name) == str
return mapped_name
Purpose
The mac Darwin system has a limit on the length (in characters) of
shared memory names. This routine returns a mapping of the shared memory
name that is short enough to work on the current system.