On Mon, Mar 28, 2011, Michael Casadevall wrote: > --- mono/mini/driver.c 2010-06-06 17:45:35 +0000 > +++ mono/mini/driver.c 2011-03-25 05:33:36 +0000 > @@ -1291,8 +1291,20 @@ > setlocale (LC_ALL, ""); > > #if HAVE_SCHED_SETAFFINITY > + > +/** > + * FIXME: The Mono JIT (mini) is non-SMP safe on ARM currently. > + * Force us to be non-SMP unless a we have MONO_FORCE_SMP > + * environmental variable set (to allow us to continue to > + * debugging efforts > + **/ > +#if defined(__ARM_EABI__) > + if (!getenv ("MONO_FORCE_SMP")) { > +#else > if (getenv ("MONO_NO_SMP")) { > +#endif // __ARM_EABI__ > unsigned long proc_mask = 1; > +
I didn't find the closing braces for the above new if () { constructs?
-- Loïc Minier
On Mon, Mar 28, 2011, Michael Casadevall wrote: SETAFFINITY __ARM_EABI_ _)
> --- mono/mini/driver.c 2010-06-06 17:45:35 +0000
> +++ mono/mini/driver.c 2011-03-25 05:33:36 +0000
> @@ -1291,8 +1291,20 @@
> setlocale (LC_ALL, "");
>
> #if HAVE_SCHED_
> +
> +/**
> + * FIXME: The Mono JIT (mini) is non-SMP safe on ARM currently.
> + * Force us to be non-SMP unless a we have MONO_FORCE_SMP
> + * environmental variable set (to allow us to continue to
> + * debugging efforts
> + **/
> +#if defined(
> + if (!getenv ("MONO_FORCE_SMP")) {
> +#else
> if (getenv ("MONO_NO_SMP")) {
> +#endif // __ARM_EABI__
> unsigned long proc_mask = 1;
> +
I didn't find the closing braces for the above new if () { constructs?
--
Loïc Minier