[Mono-dev] [PATCH] System.Threading.Parallel

Jonathan Chambers joncham at gmail.com
Sun Dec 23 11:06:31 EST 2007


Hello,

#if false

should work.

Thanks,
Jonathan

On Dec 23, 2007 11:01 AM, Andreas Färber <andreas.faerber at web.de> wrote:

>
> Am 23.12.2007 um 11:44 schrieb Andreas Färber:
>
> > Hello,
> >
> > Am 22.12.2007 um 23:49 schrieb Marek Safar:
> >
> >>> ECMA_PARALLEL_SUPPORT is not being defined anywhere, should I
> >>> better use #if 0 to make it more obvious?
> >> Yes, #if 0 is more obvious.
> >
>
> Actually this breaks compilation:
>
> System.Threading.Parallel/ParallelFor.cs(51,1): error CS1517: Invalid
> preprocessor directive
> System.Threading.Parallel/ParallelFor.cs(51,1): error CS1025: Single-
> line comment or end-of-line expected
> System.Threading.Parallel/ParallelForEach.cs(53,1): error CS1517:
> Invalid preprocessor directive
> System.Threading.Parallel/ParallelForEach.cs(53,1): error CS1025:
> Single-line comment or end-of-line expected
> System.Threading.Parallel/ParallelWhile.cs(53,1): error CS1517:
> Invalid preprocessor directive
> System.Threading.Parallel/ParallelWhile.cs(53,1): error CS1025: Single-
> line comment or end-of-line expected
> Compilation failed: 6 error(s), 0 warnings
>
> Any alternatives? (In C this works...)
>
> Andreas
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071223/e35e148d/attachment.html 


More information about the Mono-devel-list mailing list