Some sort of atomic support would be really nice. I realize that it's difficult to implement in the way OpenMP does:
int x = 0;
#pragma omp parallel
{
#pragma omp atomic
++x;
}
However, some sort of wrapper around System.Interlocked would be really nice! This would also be a great excuse to add an OpenMP.Atomic namespace, since this seems like a reasonable amount of added code. This code should go into Atomic.cs.
Some sort of atomic support would be really nice. I realize that it's difficult to implement in the way OpenMP does:
However, some sort of wrapper around
System.Interlocked
would be really nice! This would also be a great excuse to add anOpenMP.Atomic
namespace, since this seems like a reasonable amount of added code. This code should go intoAtomic.cs
.