Skip to content
Prev 12367 / 63461 Next

shared mem advice

On Tue, 13 Apr 2004, Alex Nu wrote:

            
I'd recommend looking at external pointer objects.  If the developer
webpage were working, that would be the place to look. I'm not sure where
else there is information.
No, you want the shared memory to hold the data of the vector, not the
header record that the SEXP points to.  If you do it this way you want to
look at how memory.c:allocVector uses malloc() for large vectors.

	-thomas
Thomas Lumley			Assoc. Professor, Biostatistics
tlumley@u.washington.edu	University of Washington, Seattle