peerplays-fc/src
Eric Frias 3222dc7c0b When reusing a context, re-initialize most of its fields. This fixes at least two errors:
- we were canceling tasks that hadn't been canceled, because the canceled flag was left set to true and the next task assigned to the context then became canceled as soon as it yielded
 - we were resumeing blocked tasks before they should have resumed, because their blocking_promises list wasn't cleared and they were unblocking because the erroneous promises were fulfilled
As a debugging aid, we also record the cancellation reason whenever a task is canceled, and include that in the canceled_exception (this is only enabled in debug builds)
2014-08-28 15:43:26 -04:00
..
compress Use a separate thread for log compression 2014-07-03 17:24:06 -04:00
crypto Merge branch 'master' of https://github.com/InvictusInnovations/fc 2014-08-01 17:21:24 -04:00
interprocess Make process::exec take an 'int' for the bitmask of launch options instead of an enum to make it more clear that it's a bitmask (and avoid a cast) 2014-07-03 09:30:50 -04:00
io Allow us to require assigning descriptions to all async tasks to aid in debugging 2014-07-27 17:37:21 -04:00
log Allow the user to supply a reason string when canceling a task (useful for debugging) 2014-08-27 14:07:44 -04:00
network Change fc::canceled_exceptions thrown due to a socket operation being canceled into regular fc::exceptions -- we're reserving canceled_exception for canceling async tasks 2014-08-28 15:34:04 -04:00
rpc Allow the user to supply a reason string when canceling a task (useful for debugging) 2014-08-27 14:07:44 -04:00
ssh Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
thread When reusing a context, re-initialize most of its fields. This fixes at least two errors: 2014-08-28 15:43:26 -04:00
utf8 [BW]: [NIP] Further changes to get to work paths containing unicode characters: 2014-01-10 00:05:18 +01:00
asio.cpp Change fc::canceled_exceptions thrown due to a socket operation being canceled into regular fc::exceptions -- we're reserving canceled_exception for canceling async tasks 2014-08-28 15:34:04 -04:00
byteswap.hpp Fix 32-bit error in uint128 to bigint conversion, move bswap_64 into its own header file 2014-06-11 17:32:59 -04:00
exception.cpp adding aes exception 2014-07-29 13:54:50 -04:00
filesystem.cpp Added OpenSSL configuration file path. (qt_wallet issue #10 Some clients on Windows 7 quit/crash on start) 2014-07-23 00:18:09 +02:00
git_revision.cpp.in Move/rename git revision info compiled into FC to be more self-explanatory 2014-05-20 18:02:20 -04:00
shared_ptr.cpp fix cin crash 2012-12-18 14:08:40 -05:00
string.cpp default to_string conversion is now fixed 2014-08-13 16:06:42 -04:00
time.cpp Add time_point_sec::to_iso_{extended_}string() 2014-07-26 21:05:11 -04:00
uint128.cpp Fix 32-bit error in uint128 to bigint conversion, move bswap_64 into its own header file 2014-06-11 17:32:59 -04:00
utf8.cpp [BW]: [NIP] Further changes to get to work paths containing unicode characters: 2014-01-10 00:05:18 +01:00
variant.cpp Add missing integer variant conversions 2014-07-28 22:36:47 -04:00
variant_object.cpp Update use of fc::string and fc::vector. 2013-06-27 14:19:08 -04:00