Commit graph

14 commits

Author SHA1 Message Date
dnotestein
7cc69f3bb7 Set canceled flag in task's context object so that we cancel out of active tasks when they try to resume. Wrap a try-catch block around tcp and udp resolve requests to convert any non-fc exceptions to fc exceptions. Minor change to clarify design intent that request_time_task should always be running in _ntp_thread. 2014-08-01 11:31:36 -04:00
dnotestein
9e320a3db8 Add descriptions for a bunch of async tasks, remove logging during thread::quit to avoid crashes for now until we cleanup thread quit code 2014-07-27 00:09:15 -04:00
Eric Frias
b460fd6b41 Cleanup all async tasks on exit, thread safety, work in progress. 2014-07-26 18:22:38 -04:00
Eric Frias
c208a968b2 Fix ntp on win32 2014-07-25 14:40:47 -04:00
Daniel Larimer
456c81df27 fix potential errors in NTP caused by running in main thread 2014-06-25 23:32:09 -04:00
Eric Frias
331e6aac7d Convert networking exceptions to fc::exceptions to properly catch them in NTP code (fixes at least some of the shutdown crashes) 2014-06-20 12:22:37 -04:00
Daniel Larimer
bb3c3ec118 fix NTP flooding issue 2014-06-16 14:04:36 -04:00
Eric Frias
6898484321 Remove a few annoying unreferenced variables 2014-06-16 12:03:20 -04:00
Daniel Larimer
b7ad720647 updating ntp service 2014-06-16 11:17:29 -04:00
Eric Frias
a1604e3708 Fix NTP on Win32 2014-06-12 08:40:24 -04:00
Eric Frias
8ef1c4e0a7 Add include for ntohl() on linux 2014-06-11 13:56:03 -07:00
Eric Frias
59d3e80fb7 Add include to fix win32 build 2014-06-11 16:32:47 -04:00
Daniel Larimer
75ec020227 fix ntp 2014-06-11 15:30:30 -04:00
Daniel Larimer
0c64d208d9 adding ntp support to fc 2014-06-11 15:17:28 -04:00