Peter Conrad
40797b1026
Fixed typo
2019-06-10 18:52:46 +02:00
Peter Conrad
8ad041cea0
Replaced fc::deduce with std::remove_reference<std::remove_const<>>
2019-06-06 14:41:47 +02:00
Peter Conrad
0aac8a4afc
Replaced fc::forward with std::forward
2019-06-06 14:41:47 +02:00
Peter Conrad
19bbc4080e
Added retain where applicable
2019-06-06 14:39:14 +02:00
Peter Conrad
7cf371736b
Intermediate
2019-06-06 14:39:14 +02:00
Abit
67e5a06035
Merge pull request #119 from bitshares/shared-ws-client-ptr
...
Use shared_ptr to WS connection in API connection
2019-05-10 15:24:15 +02:00
abitmore
127aadbffc
Add function to send signals to threads
2019-05-07 19:21:43 -04:00
Peter Conrad
579914c84d
Removed unused stuff
2019-04-04 17:59:51 +02:00
Peter Conrad
018642659d
Fixed some new code smells
2018-10-09 23:42:03 +02:00
Peter Conrad
d0b280aca7
Fixed possible deadlock
2018-10-09 23:28:02 +02:00
Peter Conrad
9d54742741
Added a mechanism to get notifications when a thread is idle
2018-10-03 21:25:10 +02:00
Peter Conrad
fa7f6af01f
Delete broken (wrt fc::current_thread()) move stuff
2018-10-03 21:17:37 +02:00
Alexey Frolov
5138c58e09
sanitize, remove warnings
2018-02-02 15:29:46 +03:00
drltc
ff1152e55d
Add sync_call() for calling a functor in another thread and waiting on it
2014-12-15 15:40:20 -05:00
drltc
16c0709500
Increase stack size to 2MB
2014-11-19 11:27:22 -05:00
Eric Frias
307252e23a
Call fc: 🧵 :quit() on thread destruction, and remove code that explicitly terminates threads from the destructors of the objects that own those threads.
...
Fix fc::thread to set the thread name in the Debugger when the name is set after thread construction.
When terminating a thread, cancel any tasks that have been schedule()d or async()ed but have not yet started executing.
When canceling a task blocked on a fc::mutex, notify the thread to reschedule the task to allow it to clean up the mutex's block list.
Fix a bug in managing the recursive lock count when tasks block on a fc::mutex
Reorder the code that manages the hard links for log files to avoid an exception generated by unlinking a locked file on Windows.
2014-10-21 10:25:28 -04:00
Eric Frias
130da3623e
Allow fibers to be canceled while they're sleeping or blocked on promises
2014-09-08 10:41:59 -04:00
Eric Frias
8841f5e271
Import thread/task_specific variables
2014-08-27 12:20:19 -04:00
Eric Frias
27096f15a7
Log the names of tasks to the log file (now contains thread_name:task_name}
2014-08-24 18:33:05 -04:00
Eric Frias
978de7885a
Add a macro to check if a task that shouldn't yield actually yields.
2014-08-02 19:43:28 -04:00
Eric Frias
d847f6469a
Allow us to require assigning descriptions to all async tasks to aid in debugging
2014-07-27 17:37:21 -04:00
Vikram Rajkumar
e9b1b8ec2e
Use a separate thread for log compression
2014-07-03 17:24:06 -04:00
Daniel Larimer
d2072e9d3a
updates to thread / udt socket
2014-06-26 20:10:56 -04:00
HackFisher
8b73226312
This should be a typo, fix it.
...
move ">" before #endif
2014-03-09 16:18:00 +08:00
Eric Frias
fdbaf88e5e
Provide a way to intercept Win32 structured exceptions in async tasks
...
Something about the stacks created by boost::context prevents global structured exception handlers
from being called. This allows the user to register a handler which will be called when there
is an unhandled structured exception in async task.
2014-03-08 18:48:19 -05:00
Daniel Larimer
b07aed4a22
Update use of fc::string and fc::vector.
2013-06-27 14:19:08 -04:00
Daniel Larimer
59a121d64b
Updating FC with changes from phoenix-int
2013-06-05 15:19:00 -04:00