Re: [Mono-dev] mono_thread_manage causes subsequent mono_jit_cleanup call to hang?

2014-09-12 Thread Vincent Povirk
On Fri, Sep 12, 2014 at 12:47 AM, Rodrigo Kumpera kump...@gmail.com wrote: How about internally renaming mono_thread_manage and add a no-op version of it. It would retain compatibility with wine and would not further complicate the shutdown sequence. Sounds good to me.

Re: [Mono-dev] pull request, implement System.Threading.Thread.Priority get and set methods

2014-09-12 Thread 何子杰Hzj_jie
thank you for Robert's comment, Internals calls must not return structs. This is not supported across all platforms. Hzj_jie: but i see GetName_internal and SetName_internal are all using string and InternalThread, do you mean ThreadPriority enum? but i really cannot

[Mono-dev] How to find extern definition for MonoIO void Lock(

2014-09-12 Thread Edward Ned Harvey (mono)
I am trying to find the definition for this: mcs/class/corlib/System.IO/MonoIO.cs: public extern static void Lock (...) I'd like to know how the Lock() method is implemented, so I can understand the valid parameters. (I know the two ints must be = 0, but I'd like

[Mono-dev] peverify vs mono --verify-all

2014-09-12 Thread mono user
I would really appreciate help with this. I need to check that a dll I generated via reflection is correct, however peverify won't even start: [me@somewhere]$ peverify tmp.dll Could not load class with token 202 * Assertion at class.c:5607, condition `!mono_loader_get_last_error ()' not met

Re: [Mono-dev] How to find extern definition for MonoIO void Lock(

2014-09-12 Thread Rodrigo Kumpera
See icall-def.h On Fri, Sep 12, 2014 at 1:08 PM, Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: I am trying to find the definition for this: mcs/class/corlib/System.IO/MonoIO.cs: public extern static void Lock (...) I'd like to know how

Re: [Mono-dev] peverify vs mono --verify-all

2014-09-12 Thread Rodrigo Kumpera
peverify does verify everything eagerly and do very strict checks. mono --verify-all disables some of the strict checks and does perform the checking lazily only on what's executed. Could you file a bug with your binary attached so I can take a look on fixing this assert (I'm the author of this

[Mono-dev] Mono 3.10 Threadpool requires remoting??

2014-09-12 Thread Chris Tacke
We have a Mono application that we have been successfully running against Mono 3.2.7 for some time now. We have built Mono ourselves from the source because we're targeting the i586 architecture. We're targeting a headless embedded device, so we've tried to remove things that we don't use.

[Mono-dev] Latest source - build yields Could not load type 'Mono.CSharp.CommandLineParser' (17170)

2014-09-12 Thread Chris Tacke
Bug 17170 is marked as RESOLVED/FIXED but it's still occurring with a git pull of the latest as of this morning: https://bugzilla.xamarin.com/show_bug.cgi?id=17170 The proposed workaround of make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe After getting monolite and before running

Re: [Mono-dev] Latest source - build yields Could not load type 'Mono.CSharp.CommandLineParser' (17170)

2014-09-12 Thread Jean-Michel.Perraud
Hi, Just reporting I got similar issues compiling from the 3.8.0 tarball, on a CentOS system (with or without a previous working mono runtime already available). Not quite the message in that bug report, but failing to find a working gmcs (sorry cannot access the message details right now),

Re: [Mono-list] Does Mono Support the development of plugin based programs?

2014-09-12 Thread Luke Pulverenti
wa...@prjatk.com wrote: Does MEF run on mono? — Sent from Mailbox https://www.dropbox.com/mailbox On Fri, Sep 12, 2014 at 6:15 AM, Miljenko Cvjetko mcvje...@holisticware.net wrote: Hi On 20140912 05:25 , Josiah wrote: Hi all, I'm looking at options for cross-platform development

[Mono-list] build issue 3.8

2014-09-12 Thread Peter Hagen
Hi, I’m trying to build mono 3.8 from git, but I get an error: System.Security.AccessControl/SemaphoreSecurity.cs(136,35): warning CS0109: The member `System.Security.AccessControl.SemaphoreSecurity.PersistModifications(System.Runtime.InteropServices.SafeHandle)' does not hide an inherited

Re: [Mono-list] Java Convert to C#

2014-09-12 Thread mutasim
the difference between Java and C# is the native code if the native code been programmed and add to the mono CLI that will handle all the problems , i think , all the codes will return back to C or C++ and then to the low level , -- View this message in context:

[Mono-list] C++ CLR

2014-09-12 Thread mutasim
i tried to compile a C code in C++ CLI and i find the code convert to managed code and native , why mono don't develop there CLI in C++ CLR -- View this message in context: http://mono.1490590.n4.nabble.com/C-CLR-tp4663830.html Sent from the Mono - General mailing list archive at Nabble.com.

Re: [Mono-list] build issue 3.8

2014-09-12 Thread Peter Hagen
Hi Steve, Thanks for your reply. I also have a 3.4 build installed parallel, so I used that one: make EXTERNAL_MCS=/opt/mono-3.4/bin/mcs EXTERNAL_RUNTIME=/opt/mono-3.4/bin/mono but the it will run into the following error: Unhandled Exception: System.TypeLoadException: Could not load type

[Mono-list] Mono at embedded devices (arm)

2014-09-12 Thread star
What is the size of the mono runtime environment? Is this suitable for little linux systems? I found some packages build for certain linux distris as here vor debian (ftp://ftp.de.debian.org/debian/pool/main/m/mono/). This is quite a huge number of files Want to get it running at an

Re: [Mono-list] Java Convert to C#

2014-09-12 Thread William Ivanski
I haven't tried it myself, but I think you can run Java on Mono with IKVM ( http://www.ikvm.net). William Ivanski 2014-09-12 4:40 GMT-03:00 mutasim d_muta...@hotmail.com: the difference between Java and C# is the native code if the native code been programmed and add to the mono CLI that

Re: [Mono-list] Does Mono Support the development of plugin based programs?

2014-09-12 Thread Josiah
On 20140912 05:25 , Josiah wrote: Hi all, I'm looking at options for cross-platform development and I was wondering if Mono supports the ability to create a program that can load plugins. Mono supports MEF since version 2.8, besides it has Mono.Addin implemetation equivalent to MAF. For MEF I

Re: [Mono-list] Mono at embedded devices (arm)

2014-09-12 Thread Chris Morgan
On Fri, Sep 12, 2014 at 7:34 AM, s...@gmx.li wrote: What is the size of the mono runtime environment? Is this suitable for little linux systems? I found some packages build for certain linux distris as here vor debian (ftp://ftp.de.debian.org/debian/pool/main/m/mono/). This is quite a huge

Re: [Mono-list] Mono at embedded devices (arm)

2014-09-12 Thread mickeyf
We have been using mono on the Beagle Board for getting on to a couple of years now and it works fine for us. You may want to check out the Beagle Board Forum. https://groups.google.com/forum/#!categories/beagleboard -- View this message in context:

[Mono-list] File Locking

2014-09-12 Thread Edward Ned Harvey (mono)
Ack! I just realized this doesn't work: var lockFile = new FileStream(myfile.lock,FileMode.OpenOrCreate,FileAccess.ReadWrite,FileShare.None); Particularly, if more than one application attempts to get an exclusive lock on that file at the same time (FileShare.None), then both applications

[Mono-list] Xbuild losing project reference

2014-09-12 Thread Charlie Poole
Hi All, I have a project with a single project reference, in addition to various references to system assemblies. It builds without any problems under VS, MsBuild and MonoDevelop. When I use xbuild, the generated command line doesn't include that reference at all. You can see the output of a

Re: [Mono-list] Java Convert to C#

2014-09-12 Thread mutasim
Give the C code try , i think this where the code programmed , -- View this message in context: http://mono.1490590.n4.nabble.com/Java-Convert-to-C-tp4663811p4663841.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list

Re: [Mono-list] Java Convert to C#

2014-09-12 Thread Jonathan Pryor
On Sep 12, 2014, at 3:40 AM, mutasim d_muta...@hotmail.com wrote: the difference between Java and C# is the native code That's...one way to think of it, certainly. That's also an oversimplification: before you even get to native code, your compiler needs to emit *something*, and that something

Re: [Mono-list] Xbuild losing project reference

2014-09-12 Thread Ankit Jain
Hi, Try to run xbuild with /v:diag , that should show details of what happened with that project reference. -Ankit On Fri, Sep 12, 2014 at 9:22 PM, Charlie Poole char...@nunit.com wrote: Hi All, I have a project with a single project reference, in addition to various references to system