[Mono-dev] Performance problems on ARM/linux

Robert Jordan robertj at gmx.net
Thu Apr 9 14:02:03 EDT 2009


Martin Fuzzey wrote:
> [I need --without-static_mono because the application accesses
> WaitForSingleObject etc - I can use the versions supplied by the iolayer
> via an assemble config file but it only works if both the mono runtime
> and the imported native DLL use the same code]

It should be possible to import symbols from the main module (mono)
by applying the "__Internal" special dll name:

[DllImport ("__Internal")]
static extern ... WaitForSingleObject(...)

So you can get rid of the less tested "--without-static_mono".

Robert



More information about the Mono-devel-list mailing list