[Mono-list] Accessing SystemV style shared memory in Mono

Jonathan Pryor jonpryor at vt.edu
Sun Oct 15 21:24:34 EDT 2006


On Sun, 2006-10-15 at 11:06 +0100, Nigel Jenkins wrote:
> I'm looking at porting a graphics cluster application from C++ to C# 
> using mono, making good progress so far with all the network stuff, but 
> the original application talks to a couple of external apps using shared 
> memory (shmget, shmat etc..).
> I've not been able to work out if there is a class that already allows 
> me to do this, and being very new to mono, I'm not sure where I should 
> be looking.

Mono.Unix.Native.Syscall *would* be the place for this, but these
methods haven't been wrapped yet.

Thus, you'll have to wrap them manually.

You might find this useful:

	http://www.mono-project.com/dllimport

 - Jon




More information about the Mono-list mailing list