Jérémie Laval
|
c764bfd4fa
Check that CancellationToken coming from OperationCanceledException isn't None. Fix #472.
|
14 жил өмнө |
Jérémie Laval
|
4592da7cbb
Throw when a non-finished task is started
|
14 жил өмнө |
Jérémie Laval
|
57bfe6463f
Fix coding style
|
14 жил өмнө |
Jérémie Laval
|
87c18a4e3b
Correctly check TaskCreationOptions upper bound
|
14 жил өмнө |
Jérémie Laval
|
cd68468d93
Avoid creating a delegate instance in general case when setting up continuations
|
14 жил өмнө |
Jérémie Laval
|
b21a860ddf
Implement proper ctor parameter checking
|
14 жил өмнө |
Jérémie Laval
|
4553d5d92a
Fix for #162
|
14 жил өмнө |
Jérémie Laval
|
a5ee80a5ee
Ensure that Task is in a correct initial state before starting it for real
|
14 жил өмнө |
Jérémie Laval
|
7a92657e2e
Potential fix for #690944
|
14 жил өмнө |
Jérémie Laval
|
ed996c6947
Setup status and scheduler correctly when calling RunSynchronously on a Task
|
14 жил өмнө |
Marek Safar
|
bdf24342ff
Add more async infrastructure
|
14 жил өмнө |
Jérémie Laval
|
48e433753d
Revert fcbb5717c18ff8393f2300a254bb13e6fab9c7e4 and implement it differently.
|
15 жил өмнө |
Jérémie Laval
|
0be8fab8cc
Register exceptions happening in child tasks when attached on their parent.
|
15 жил өмнө |
Jérémie Laval
|
b5240a78af
Add a memory barrier so that exception is strictly set before Task state is changed to Faulted.
|
15 жил өмнө |
Jérémie Laval
|
b90457e170
Tiny style fix
|
15 жил өмнө |
Miguel de Icaza
|
1eae9418dd
Fix build
|
15 жил өмнө |
Rafael Munitic
|
fcbb5717c1
Continuation options should be checked as flags
|
15 жил өмнө |
Koushik Dutta
|
98da8a2fc6
Fix bug where if a task is Start-ed with a specific scheduler,
|
15 жил өмнө |
Jérémie Laval
|
f6985b47a6
Don't throw an exception when task array is empty in WaitAll and throw in case a null element is encountered in it.
|
15 жил өмнө |
Jérémie Laval
|
238a65fbfe
Kill old IScheduler interface.
|
15 жил өмнө |
Jérémie Laval
|
30cc982eb8
Avoid wrapping task body given as Action into Action<object>
|
15 жил өмнө |
Jérémie Laval
|
d588d7ffee
Lazy creation of the continuation queue in Task
|
15 жил өмнө |
Geoff Norton
|
83e999b7d7
Add pfx to the mobile profile
|
15 жил өмнө |
Jérémie Laval
|
f91a01c747
Sanitize parent-child relation in continuations
|
15 жил өмнө |
Jérémie Laval
|
5ba9f7a270
Make sure a synchronous continuation get executed synchronously in all cases
|
15 жил өмнө |
Jérémie Laval
|
2fd30cbfbe
Allow multiple invocation of Task Execute method to allow short-circuiting without breaking deque ordering
|
15 жил өмнө |
Jérémie Laval
|
1b406592e1
Throw when trying to ExecuteSynchronously a task that is already scheduled/completed
|
15 жил өмнө |
Jérémie Laval
|
4091f624db
Rework internal wait mechanism in thread workers participation code
|
15 жил өмнө |
Jérémie Laval
|
6b7b757403
Use more modern method in older Task code path
|
15 жил өмнө |
Jérémie Laval
|
9f3ce4b1e5
Fix continuation not being scheduled because of too early and too greedy disposing.
|
15 жил өмнө |