peerplays-fc/include/fc
Eric Frias aa6882b3b7 Allow us to safely cancel tasks that are executing asynchronous network reads
and writes.  This was previously unsafe because we almost always passed read/write
buffers to boost that were on the stack. Canceling the task deleted the stack and
therefore the buffer, but couldn't reliably prevent boost from writing to the buffer
if data came in after the cancel.  This commit adds variants of the read and write
functions that take a shared_ptr<char> instead of a raw char* as the buffer, and
these variants will ensure the shared_ptr will outlive the boost::asio read/write.
2014-09-09 11:10:37 -04:00
..
compress Implement LZMA file decompression 2014-07-03 00:01:02 -04:00
crypto 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
exception Restore function-like semicolon-swallowing behavior to FC_THROW 2014-09-02 15:21:30 -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 safely cancel tasks that are executing asynchronous network reads 2014-09-09 11:10:37 -04:00
log Log the names of tasks to the log file (now contains thread_name:task_name} 2014-08-24 18:33:05 -04:00
network Allow us to safely cancel tasks that are executing asynchronous network reads 2014-09-09 11:10:37 -04:00
reflect Fix build wrt fc::ip::address multiple definitions 2014-06-26 10:41:20 -04:00
rpc Merge branch 'master' of github.com:InvictusInnovations/fc 2014-07-22 10:00:25 -04:00
ssh Update use of fc::string and fc::vector. 2013-06-27 14:19:08 -04:00
thread Dequeue a thread from a blocking promise's notify list when the all the thread's tasks that are waiting on that promise are canceled. This prevents a crash when the promise is fulfilled after the thread is destroyed. 2014-09-08 15:31:13 -04:00
actor.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
aligned.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
any.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
array.hpp improving error reporting in deserialization 2014-05-17 19:35:44 +00:00
asio.hpp Allow us to safely cancel tasks that are executing asynchronous network reads 2014-09-09 11:10:37 -04:00
filesystem.hpp 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
fwd.hpp port to windows 2012-12-03 14:51:31 -05:00
fwd_impl.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
git_revision.hpp Move/rename git revision info compiled into FC to be more self-explanatory 2014-05-20 18:02:20 -04:00
make_fused.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
noncopyable.hpp implemented working UDT socket/server 2014-06-26 11:25:07 -04:00
optional.hpp assert() instead of throwing fc::null_optional exception when dereferencing an invalid optional. Before, the behavior was to throw null_optional in debug mode and to allow the dereference in release, which masked the error 2014-08-28 11:42:46 -04:00
platform_independence.hpp Untested popcnt code for Windows 2013-09-22 14:10:40 -04:00
ptr.hpp more windows related changes, check what I was thinking with that BOOST1_51 when not in a hurry, maybe it should just be removed now 2013-08-10 22:11:59 -04:00
shared_ptr.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
signal.hpp Update use of fc::string and fc::vector. 2013-06-27 14:19:08 -04:00
signals.hpp Add support for boost 1.56. 2014-09-08 10:41:59 -04:00
string.hpp adding pretty print 2014-06-03 11:09:15 -04:00
time.hpp Add time_point_sec::to_iso_{extended_}string() 2014-07-26 21:05:11 -04:00
tuple.hpp merge latest changes 2013-03-01 18:56:06 -05:00
uint128.hpp adding mod to uint128 2014-05-23 21:38:05 -04:00
unique_ptr.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
utf8.hpp [BW]: [NIP] Further changes to get to work paths containing unicode characters: 2014-01-10 00:05:18 +01:00
utility.hpp fixes to build under clang++ 2014-02-06 03:22:09 -05:00
variant.hpp Add reflector for multimap 2014-09-04 19:14:23 -04:00
variant_object.hpp constification 2014-05-01 14:04:44 -04:00
vector.hpp Merge branch 'phoenix' of github.com:bytemaster/fc into phoenix 2013-06-27 14:45:11 -04:00
vector_fwd.hpp updating value casting for vectors 2012-11-12 21:45:41 -05:00
wait_any.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00