peerplays-fc/src/thread
dnotestein 10fdbcf5b3 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.
Re-organize read-loop execution to avoid crashes in read_loop on Win32 when ntp object destructs. Call quit on ntp_thread when ntp object destructs to free up thread (eventually we need to make fc::threads call quit in their destructor, but more work is required to make that work properly).
~fc::udp_socket now closes socket on destruction (consider doing this for tcp sockets as well).
2014-09-08 15:31:13 -04:00
..
context.hpp Add support for boost 1.56. 2014-09-08 10:41:59 -04:00
future.cpp 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
mutex.cpp When a task is canceled while blocking on a mutex, fix the code that removes it from the mutex's block list to null out its "next" pointer, which is assumed to be null whenever not blocked on a mutex 2014-08-27 11:55:14 -04:00
non_preemptable_scope_check.cpp Add a macro to check if a task that shouldn't yield actually yields. 2014-08-02 19:43:28 -04:00
spin_lock.cpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
spin_yield_lock.cpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
task.cpp Allow fibers to be canceled while they're sleeping or blocked on promises 2014-09-08 10:41:59 -04:00
thread.cpp Allow fibers to be canceled while they're sleeping or blocked on promises 2014-09-08 10:41:59 -04:00
thread_d.hpp Allow fibers to be canceled while they're sleeping or blocked on promises 2014-09-08 10:41:59 -04:00
thread_specific.cpp Import thread/task_specific variables 2014-08-27 12:20:19 -04:00