Rodrigo Kumpera
1b92a4148c
Since MOBILE implies NET_4_* now, take this into account and simplify our ifdefs.
2013-02-11 18:42:18 -05:00
Marek Safar
57fc0680d5
Fix few races in ManualResetEventSlim and make it compatible with .net
2011-10-18 17:45:33 +01:00
Marek Safar
fa8e1b0785
Compatibility fixes to CountdownEvent
2011-10-17 17:07:07 +01:00
Jérémie Laval
54dab2cec8
Remove need for a delegate instance in CountdownEvent and just apply the specific test everytime
2011-10-15 19:41:27 +02:00
Jérémie Laval
f1441786ef
Call correctly Dipose in CoutdownEvent
2011-10-14 14:50:52 +02:00
Geoff Norton
83e999b7d7
Add pfx to the mobile profile
2011-01-25 01:51:17 -05:00
Jérémie Laval
4ce910052b
Add missing Debugger and ReliabilityContract attributes to .NET 4 types
2011-01-06 16:07:48 +00:00
Marek Safar
d84d7c7eb9
Remove no longer used BOOTSTRAP conditionals
2010-12-29 12:41:12 +00:00
Jérémie Laval
ed404a7b74
More parameter renaming
2010-12-15 16:39:58 +00:00
Jérémie Laval
dd36115a4b
Fix semantic of CountdownEvent Reset methods. Fix #658244 .
2010-12-09 17:32:04 +00: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
96153abf73
Port CountdownEvent to use a ManualResetEventSlim for all its waiting operations and use it as the native handle too.
2010-08-13 11:32:37 +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
2e21472723
2009-08-11 Jérémie Laval <[email protected] >
...
In build/common/:
* Consts.cs.in: Add BOOTSTRAP_NET_4_0.
In class/corlib/System.Collections.Concurrent/:
* ConcurrentQueue.cs:
* IProducerConsumerCollection.cs: Add BOOTSTRAP_NET_4_0.
In class/corlib/System.Runtime.CompilerServices/:
* TypeForwardedFromAttribute.cs: Add BOOTSTRAP_NET_4_0.
In class/corlib/System.Threading/:
* Watch.cs:
* SpinWait.cs:
* CountdownEvent.cs:
* CancellationToken.cs:
* ICancelableOperation.cs:
* CancellationTokenSource.cs:
* CancellationTokenRegistration.cs: Add BOOTSTRAP_NET_4_0.
In class/corlib/System/:
* Funcs.cs:
* Action.cs:
* AggregateException.cs: Add BOOTSTRAP_NET_4_0.
svn path=/trunk/mcs/; revision=139736
2009-08-11 21:10:04 +00:00
Jérémie Laval
9bf30cecff
2009-08-11 Jérémie Laval <[email protected] >
...
* Update unit tests
* Moved BlockingCollection and Barrier in System.dll (with assorted fixes)
* Fix wrong signature in TaskFactory<T>
* Update .dll.sources files
* Move AggregateException in System namespace
* Remove While in Parallel
* Correct Wait(CancellationToken) signature in CountdownEvent
* update corlib.dll.sources
svn path=/trunk/mcs/; revision=139727
2009-08-11 18:47:31 +00:00
Jérémie Laval
7baa3c7178
In class/corlib/:
...
* corlib.dll.sources: Added TaskCompletionSource
* corlib_test.dll.sources: Removed SnziTests due to
visibility change in Snzi.
Added TaskCompletionSource tests.
In class/corlib/System.Collections.Concurrent/:
* ConcurrentBag.cs:
* ConcurrentQueue.cs:
* ConcurrentStack.cs:
* ConcurrentSkipList.cs:
* ConcurrentDictionary.cs:
* IProducerConsumerCollection.cs: Make the namespace comply to 4.0b1
In class/corlib/System.Threading.Tasks/:
* Task.cs:
* Future.cs:
* TaskFactory.cs:
* TaskCanceledException.cs:
* TaskSchedulerException.cs:
* Internal/SchedulerProxy.cs: Make System.Threading.Tasks API fully 4.0 b1 compliant.
* TaskCompletionSource.cs: Add TaskCompletionSource class
In class/corlib/System.Threading/:
* Snzi.cs:
* Parallel.cs:
* SpinLock.cs:
* SpinWait.cs:
* ThreadLocal.cs:
* SemaphoreSlim.cs:
* CountdownEvent.cs:
* ManualResetEventSlim.cs:
* CancellationTokenSource.cs: Various 4.0 b1 API mismatch fixes.
In class/corlib/Test/System.Collections.Concurrent/:
* ConcurrentDictionary: Ignore tests until runtime/compiler
is fixed
svn path=/trunk/mcs/; revision=139206
2009-07-31 18:08:49 +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