Commit Graph
21 Commits
Author SHA1 Message Date
Marek Safar f39cc88e58 [corlib] Notify parent task when child task uses NotOnFaulted. Fixes #23594 2014-10-05 14:36:05 -04:00
Marek Safar b3c6f228b3 [corlib] Fix extra await context switch when custom SynchronizationContext does not change. Fixes #17878 2014-04-25 18:03:43 +02:00
Marek Safar 1383b1834d [corlib] Better recovery when tasks run on broken scheduler 2014-02-06 18:08:37 +01:00
Marek Safar 75bc8d1e1d [corlib] Hunting down rare Task.WaitAll race 2014-01-10 14:38:35 +01:00
Marek Safar e83bf13866 [corlib] Mark all promise-style task exceptions observed. Fixes #17015 2014-01-06 17:52:19 +01:00
Marek Safar 01b7a50189 [corlib] Don't inline await continuations when the context does not allow it. Fixes #16548 2013-12-13 17:09:24 +01:00
Marek Safar de61f61d53 [corlib] Keep original cancellation exception from awaited task 2013-12-08 10:42:12 +01:00
Marek Safar 3b664f331f [corlib] Implement task awaiters running on custom task scheduler. Fixes #16587 2013-12-05 09:51:56 +01:00
Marek Safar cf2ac2171b Make Task.Delay more reliable. Fixes #14585 2013-10-08 10:16:19 +02:00
Marek Safar 46fc054c3f Remove internal continuations from unfinished tasks used in WhenAny, Fixes #11008 2013-03-18 09:33:06 +01:00
Marek Safar 65518ad2ca RunSynchronously cannot be used with continuation 2013-02-12 14:25:58 +01:00
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 8d95b42b23 Remove unused class 2013-01-03 18:40:01 +01:00
Jeremie Laval a221409ade Use .NET 4.5 implementation of Task's WhenAll/WhenAny for TaskFactory's ContinueWhenAll/ContinueWhenAny
The diff noise in Task.cs is just moving WhenAllCore and WhenAnyCore outside of their NET_4_5 region
2012-04-10 16:37:25 +01:00
Jeremie Laval a9d60b1175 Do not execute a Task continuation when it has already been canceled externally 2012-04-10 12:39:03 +01:00
Marek Safar 35ca4a994f Implement more Task 4.5 members 2012-04-05 11:21:42 +01:00
Marek Safar 40c3a4c5f2 Implement Task::WhenAll 2012-04-04 10:38:20 +01:00
Jérémie Laval e325ea3653 Fix Task AttachedToParent behavior. Fix bug #2777 part1.
The problem was two folds. First, a parent task wasn't correctly waiting on the inner task continuations that were setup. Second, the way the Task parent field was re-used with a continuation collided with the parenting behavior of AttachedToParent (if the continuation was also created that way), the fix is to have two Task fields to differentiate between the two cases.
2012-02-03 03:56:18 +01:00
Jeremie Laval 52299fb467 Use only one class hierarchy for task continuations 2011-10-22 12:01:30 +02:00
Marek Safar 596a6c5542 Implement ContinueWhenAny/ContinueWhenAll with less temporary tasks 2011-10-21 16:26:11 +01:00
Marek Safar 469ad8cb81 Setup await continuation without extra task 2011-10-21 15:49:44 +01:00