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

Andreas Färber andreas.faerber at web.de
Sun Dec 23 11:01:38 EST 2007


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


More information about the Mono-devel-list mailing list