Commit Graph

6 Commits

Author SHA1 Message Date
Dominik Picheta
500aa0cb3f Reverts 1446dc87c3. Fixes #4333. Fixes #4170. 2016-06-15 16:56:28 +01:00
Dominik Picheta
77c2bcf079 Improve asyncdispatch error messages, fix some tests on Windows. 2015-09-11 14:35:42 +01:00
Dominik Picheta
03019849fc Async await try statement fixes. 2015-02-09 23:00:07 +00:00
Dominik Picheta
56f11e2c95 Fixes async tests. 2014-09-09 01:17:07 +01:00
Araq
4d863ebb5e fix failed tests due to gcsafe 2014-08-12 10:11:58 +02:00
Dominik Picheta
4f5f98f0b1 Fixes incorrect async exception handling. Adds sleepAsync.
The tasyncexceptions test has been added which tests for this incorrect
exception handling behaviour. The problem was that the exception was
raised inside a callback which was called from a previously finished async
procedure. This caused a "Future already finished" error. The fix was to
simply reraise the exception if the retFutureSym is already finished.

sleepAsync was added to help with the reproduction of this test. It should
also be useful for users however.

Finally some debug information was added to futures to help with future
bugs.
2014-08-09 17:13:22 +01:00