Commit Graph
12 Commits
Author SHA1 Message Date
Jérémie Laval 579665f7ba Rename namespaces and update docs 2011-01-13 15:38:41 +00:00
Jérémie Laval a1d84d7a67 First drop of a new Mono.Parallel assembly 2011-01-13 15:38:40 +00:00
Jérémie Laval 0e22ba327d Simplify Parallel.For execution.
This commit remove the stealing path until a better solution for it is devised.
2010-11-10 16:32:28 +00:00
Jérémie Laval cf6cb84548 Fix non 4.0 build of ReaderWriterLockSlim.
It needs to be cleaned up though.
2010-08-31 17:51:35 +01:00
Jérémie Laval 8b7268a75a Factorize tatas pattern in TryRelaxedSet method in AtomicBoolean, add AtomicBoolean to the compilation file list for System.Core 2010-08-31 17:01:36 +01:00
Jérémie Laval 16e2f091f0 Rework ReaderWriterLockSlim to use simpler Interlocked arithmetic. 2010-08-31 17:01:35 +01:00
Jérémie Laval 2abec426fe Move NET_4_0 define checks at the right position under the licence text 2010-08-13 16:25:20 +01:00
Jérémie Laval 0d765d035d 2010-04-15 Jérémie Laval <[email protected]>
In class/System/System.Collections.Concurrent/:
   * BlockingCollection.cs:
   * ConcurrentBag.cs: Add BOOTSTRAP_NET_4_0

In class/System/System.Threading/:
   * Barrier.cs: Add BOOTSTRAP_NET_4_0

In class/corlib/System.Collections.Concurrent/:
   * ConcurrentDictionary.cs:
   * ConcurrentSkipList.cs:
   * OrderablePartitioner.cs:
   * Partitioner.cs: Add BOOTSTRAP_NET_4_0 define

In class/corlib/System.Collections/:
   * IStructuralComparable.cs:
   * IStructuralEquatable.cs: Add BOOTSTRAP_NET_4_0 define

In class/corlib/System.Threading.Tasks/:
   * Future.cs:
   * Task.cs:
   * TaskCanceledException.cs:
   * TaskContinuationOptions.cs:
   * TaskCreationOptions.cs:
   * TaskFactory.cs:
   * TaskScheduler.cs:
   * TaskStatus.cs: Add BOOTSTRAP_NET_4_0 define

In class/corlib/System.Threading/:
   * AtomicBoolean.cs:
   * CountdownEvent.cs:
   * SpinLock.cs: Add BOOTSTRAP_NET_4_0 define

In class/corlib/System/:
   * Tuple.cs:
   * Tuples.cs: Add BOOTSTRAP_NET_4_0 define

svn path=/trunk/mcs/; revision=155531
2010-04-15 19:01:26 +00:00
Jérémie Laval e828ffcda6 2009-08-19 Jérémie Laval <[email protected]>
In class/System/System.Collections.Concurrent/:
   * BlockingCollection.cs: Rewrite to use a transaction id
   based approach. Ported to 4.0 API. Fix GetConsumingEnumerable.

In class/System/Test/System.Collections.Concurrent/:
   * BlockingCollectionTests.cs: Track API changes.

In class/System/System.Threading/:
   * Barrier.cs: Fix Barrier to be really thread-safe.
   Remove deadlocking.

In class/corlib/System.Collections.Concurrent/:
   * Partitioner.cs: Fix infinite recursion when calling Create
   with a IList.
   * Partitionners/ListPartitioner.cs: Fix bad splitting for the
   last partition.

In class/corlib/System.Threading.Tasks/:
   * Task.cs: Refactor Wait methods.

In class/corlib/System.Threading/:
   * AtomicBoolean.cs: Turn it into a class
   * CountdownEvent.cs: Work on cached variable. Make sure
   count doesn't go under 0.
   * ParallelLoopState.cs: Initialize correctly AtomicBoolean.

svn path=/trunk/mcs/; revision=140229
2009-08-19 10:51:42 +00:00
Jérémie Laval b5d889b654 Author: Jérémie Laval <[email protected]>
Date:   Thu Jul 30 15:37:21 2009 +0200

First code drop of ParallelFx.

svn path=/trunk/mcs/; revision=139083
2009-07-30 13:56:32 +00:00
Jb Evain 40cfd27e1d revert 127010 until Jeremie polishes and fixes the integration
svn path=/trunk/mcs/; revision=127046
2009-02-16 16:02:59 +00:00
Jérémie Laval 9c16b076a1 * Initial commit of ParallelFx (corlib part only, no PLinq)
svn path=/trunk/mcs/; revision=127010
2009-02-16 10:50:43 +00:00