[Mono-list] Why InternalCall rather than DllImport?

Dick Porter dick@ximian.com
Wed, 9 Jan 2002 21:39:14 +0000

On Wed, Jan 09, 2002 at 11:47:57AM -0800, Matt Kimball wrote:
> > I can't find the System.Private class in CVS anywhere, and it's not in your
> > patch, so I can't comment on that part.
> The class in Wrapper.cs lives in the System.Private namespace.

Whoops, I must be going blind :)

> It's being used to get the PID in Linux.cs, but I think that's the only place
> it's being used.  Should it, and the associated library, also go away once the
> PID is converted to use internal method calls?

I think it will eventually just go away, yes.  We haven't discussed it, but
I also suspect the IOperatingSystem abstraction will also vanish, or at
least be pared down.  As it stands at the moment, there is a lot of
duplication between Linux.cs and Windows.cs.  Deleting that should also
simplify the mcs makefiles.

- Dick