Marek Safar
c1539ef07f
[corlib] Mark awaited task exception observed when GetResult does the wait
2014-02-10 20:08:29 +01:00
Marek Safar
1383b1834d
[corlib] Better recovery when tasks run on broken scheduler
2014-02-06 18:08:37 +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
99aa6cf9b2
[corlib] Promise style tasks cannot be started manually. Fixes #16857
2014-01-02 14:13:00 +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
e94da6da6c
[corlib] Ignore awaited default synchronization context.
2013-12-08 21:24:32 +01:00
Marek Safar
b05fdd2562
[corlib] Not continue on awaited source context should also ignore user task schedulers
2013-12-08 10:42:13 +01:00
Marek Safar
de61f61d53
[corlib] Keep original cancellation exception from awaited task
2013-12-08 10:42:12 +01:00
Marek Safar
127ff387ba
[corlib] Block configurable task awaiter until task completes.
2013-12-07 19:51:36 +01:00
Marek Safar
85aaf9b074
[corlib] Better handling of awaiter continuation on finished task
2013-12-07 19:51:36 +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
4855d214c4
[corlib] Better exception message for unexpected task result
2013-11-27 18:55:42 +01:00
Marek Safar
7e7134d3c6
Block task awaiter until task completes. Fixes #12745
2013-06-27 16:02:07 +02:00
Marek Safar
726fb74ac0
Remove extra null key check
2013-05-09 10:09:31 +02:00
Marek Safar
71a77b33c2
Task.Yield needs to continue on synchronization context if there is any. Fixes #11908
2013-04-24 10:29:46 +02:00
Marek Safar
cfe97bf3a5
Share more common code
2013-02-27 22:58:31 +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
Rodrigo Kumpera
b96d05dac3
Kill the MOONLIGHT define in corlib.
2013-02-11 16:03:28 -05:00
Rodrigo Kumpera
4dc7925783
MOBILE now builds with 4.0 enabled but its version remains 2.0.5.0.
...
* Consts.cs.in: We must check for mobile before 4.0 to make sure
we don't end up with a 4.0.0.0 mobile BCL.
2013-01-10 18:13:15 -05:00
Marek Safar
fa6cb47af9
Generate better stack trace for exception from async context
2013-01-03 18:40:01 +01:00
Marek Safar
b0c1e99f75
Fix attribute arguments
2012-07-26 12:48:27 +01:00
Marek Safar
f01f91c58c
Add state-machine attributes
2012-06-01 15:30:20 +01:00
Marek Safar
ec47a5a912
Better handling of OperationCanceledException
2012-04-03 13:43:19 +01:00
Marek Safar
7d3fff7638
Add missing files from last commit
2012-03-09 19:37:13 +00:00
Marek Safar
0b36a89985
Add new async interfaces
2012-03-09 14:11:58 +00:00
Marek Safar
ce88206afa
Add 4.5 Caller attributes
2012-03-06 17:28:11 +00:00
Rodrigo Kumpera
1593675c21
disassemble the agressive-inlining flag correctly.
2012-01-05 10:41:25 -02:00
Rodrigo Kumpera
83dccf8fe7
Add all missing sequential layout directives to corlib and system.
2011-12-13 11:57:23 -02:00
Marek Safar
bf93c1282d
Add type forwarding for ExtensionAttribute
2011-11-03 12:08:02 +00:00
Marek Safar
f2ba7a6e39
Add few 4.5 types to compile MEF2
2011-11-02 11:09:49 +00:00
Marek Safar
772bff3244
Move TrySet method from TaskCompletionSource to Task, so AsyncTaskMethodBuilder can act as secondary TaskCompletionSource implementation
2011-10-27 11:03:38 +01:00
Marek Safar
469ad8cb81
Setup await continuation without extra task
2011-10-21 15:49:44 +01:00
Marek Safar
4d97f8cc45
Correctly capture synchronization context
2011-10-04 19:00:04 +01:00
Marek Safar
235a41e76d
Add more task awaiters and optimize existing ones by using new overloads
2011-09-20 19:04:13 +01:00
Marek Safar
11db01b5a1
Add few new 4.5 overloads
2011-09-19 19:34:27 +01:00
Marek Safar
d6b4a3cc3f
Move some async types to corlib
2011-09-19 15:01:21 +01:00
Geoff Norton
16d4fd790b
Further .NET 4.0 ification of the mobile profile
2011-01-25 20:10:54 -05:00
Geoff Norton
83e999b7d7
Add pfx to the mobile profile
2011-01-25 01:51:17 -05:00
Marek Safar
d84d7c7eb9
Remove no longer used BOOTSTRAP conditionals
2010-12-29 12:41:12 +00:00
Marek Safar
1b0ef80b2f
API compatibility work
2010-11-08 19:29:49 +00:00
Marek Safar
894b26feca
Warnings cleanup
2010-10-15 15:20:25 +01:00
Zoltan Varga
06bfbd5d04
Fix the default exception message of RuntimeWrapperException.
2010-09-23 21:15:34 +02:00
Raja R Harinath
cd51491631
Fix a few cases of mixed line-endings
...
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller. I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Raja R Harinath
b293948fb7
EOL handling
...
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.
With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Jb Evain
b672376504
2010-06-04 Jb Evain <[email protected] >
...
* ConditionalWeakTable.cs: make sure we use positive indexes.
svn path=/trunk/mcs/; revision=158486
2010-06-04 16:27:11 +00:00
Rodrigo Kumpera
3a6d84a1a4
2010-05-11 Rodrigo Kumpera <[email protected] >
...
* ConditionalWeakTable.cs: Implement simple open addressing
hash table with linear probing. We use a prime sized table
for an easy hashing and a target load capacity of 70%.
On a synthetic benchmark, a load factor of 70% did not cause
significant performance degradation over 60% as would be
expected.
svn path=/trunk/mcs/; revision=157174
2010-05-11 21:54:51 +00:00
Rodrigo Kumpera
be346a8bf5
2010-05-06 Rodrigo Kumpera <[email protected] >
...
* ConditionalWeakTable.cs: Discard old broken version. New
version user proper runtime support. Currently it performs
linear search over the keys, which is dog slow but it's a
good start.
svn path=/trunk/mcs/; revision=156851
2010-05-06 20:37:56 +00:00
Sebastien Pouliot
8bdb6b1fb9
2010-03-18 Sebastien Pouliot <[email protected] >
...
* ConditionalWeakTable.cs:
* ReferenceAssemblyAttribute.cs:
* TypeForwardedFromAttribute.cs:
Build them into Moonlight too (SL4)
svn path=/trunk/mcs/; revision=153839
2010-03-18 13:56:07 +00:00
Paolo Molaro
8a47a850ec
Fri Feb 12 19:03:11 CET 2010 Paolo Molaro <[email protected] >
...
* ReferenceAssemblyAttribute.cs: new attribute in 4.0.
svn path=/trunk/mcs/; revision=151645
2010-02-12 18:04:29 +00:00
Paolo Molaro
07fdcf989b
Fri Feb 12 18:39:57 CET 2010 Paolo Molaro <[email protected] >
...
* RuntimeHelpers.cs: implemented EnsureSufficientExecutionStack ().
svn path=/trunk/mcs/; revision=151642
2010-02-12 17:47:39 +00:00