335 Commits (00f866927ac9a001aeacff79573fef8f84674f51)

Author SHA1 Message Date
Con Kolivas d75dd5543c Try async messages again 10 years ago
Con Kolivas 6b3cd82525 Revert "Use async send proc as a separate thread from workqueues" 10 years ago
Con Kolivas 7de43b1c6e Use async send proc as a separate thread from workqueues 10 years ago
Con Kolivas 401b18adbd Fix use of ckwq variables 10 years ago
Con Kolivas 862e3df821 Fix use of ckwq variables 10 years ago
Con Kolivas eef959f5d8 Fix use of ckwq variables 10 years ago
Con Kolivas 9378f77fd9 Add an asynchronous send proc function which uses each process' generic workqueues if they exist 10 years ago
Con Kolivas fc34318ea8 Revert to synchronous proc messages in anticipation of new async functions 10 years ago
Con Kolivas adec278e7c Create generic workqueue function and message receiving and parsing helpers 10 years ago
Con Kolivas 428cabdfc4 Add an asynchronous send proc function which uses each process' generic workqueues if they exist 10 years ago
Con Kolivas 5f9f01e894 Revert to synchronous proc messages in anticipation of new async functions 10 years ago
Con Kolivas d594f86520 Create generic workqueue function and message receiving and parsing helpers 10 years ago
Con Kolivas d15ccdf54d Remove the old pid file per process when preparing the new child processes 10 years ago
Con Kolivas 646d4a9560 Cope with unknown pids in various send msg commands without terminal failure 10 years ago
Con Kolivas 33508b2243 Reset the pi pid after a failure to find the process alive so we can look it up again in case it has changed 10 years ago
Con Kolivas bd68f928b7 Make all one way send_procs asynchronous to avoid message response deadlocks 10 years ago
Con Kolivas 487e918ff7 Return value of send_proc is never used 10 years ago
Con Kolivas 07874e9f30 Show message associated with no close fd detection 10 years ago
Con Kolivas 236634239e Close our end of the socket in send_proc 10 years ago
Con Kolivas 90c682177f Wait for the other end to close a unix socket to ensure the message has gone through 10 years ago
Con Kolivas 316ceba75b Check for pid in send_recv_proc as well 10 years ago
Con Kolivas 2b97f1833f Shutdown instead of closing a socket after sending a unix message allowing the receiving end to close the socket after receiving the data 10 years ago
Con Kolivas a0753a3965 Handle other forms of read_socket_line ending after message complete as not a failure 10 years ago
Con Kolivas 6971bf45cd Remove the old pid file per process when preparing the new child processes 10 years ago
Con Kolivas 1bdf57e21d Cope with unknown pids in various send msg commands without terminal failure 10 years ago
Con Kolivas 765c3a050d Reset the pi pid after a failure to find the process alive so we can look it up again in case it has changed 10 years ago
Con Kolivas 9e5d725e68 Make all one way send_procs asynchronous to avoid message response deadlocks 10 years ago
Con Kolivas b0060079db Return value of send_proc is never used 10 years ago
Con Kolivas cef4a2cd36 Show message associated with no close fd detection 10 years ago
Con Kolivas 33f8c4275d Close our end of the socket in send_proc 10 years ago
Con Kolivas 33e195511c Wait for the other end to close a unix socket to ensure the message has gone through 10 years ago
Con Kolivas ea56de3bf6 Check for pid in send_recv_proc as well 10 years ago
Con Kolivas 6e9901f9fe Shutdown instead of closing a socket after sending a unix message allowing the receiving end to close the socket after receiving the data 10 years ago
Con Kolivas 42f14a9536 Add full lock tracking for mutexes and rwlocks 10 years ago
Con Kolivas 48f7702bd6 Add json_getdel_int64 helper 10 years ago
Con Kolivas 40b10ee2ba Add helper to set a json integer and then delete its entry from the json 10 years ago
Con Kolivas 3b40b805bd Store the proxy and subproxy id work is generated from 10 years ago
Con Kolivas b637efa179 Handle other forms of read_socket_line ending after message complete as not a failure 10 years ago
Con Kolivas 288e4b67bb Demote various messages in proxy mode but add more information to warnings 10 years ago
Con Kolivas 520b36cc70 Send which proxy we wish to get a subscribe or notify to/from the connector to stratifier and whether to reconnect 10 years ago
Con Kolivas dd160666de Do not mask SIGQUIT to allow us to force coredumps on child processes 10 years ago
Con Kolivas 9863dedf59 Do not mask SIGQUIT to allow us to force coredumps on child processes 10 years ago
Con Kolivas a090bd6c26 Convert use of %ld to PRId64 in ckpool.c 10 years ago
Con Kolivas 6de132f0f0 Export json_get_int64 helper 10 years ago
Con Kolivas 37b2f3a8b2 Fix minor memory leak when requesting stats 10 years ago
Con Kolivas 415e3864fa Handle old instance processes before forking any new ones for there to be no conflict with the stored pid numbers in the filenames 10 years ago
Con Kolivas b1218a7cf0 Add config option to prioritise more clients than supporting clients with high hashrates 10 years ago
Con Kolivas 75f24a5d16 Cope with a socket line that is closed at the end of the message 10 years ago
Con Kolivas babccc6ddf Actually terminate when the child process dies. 10 years ago
ckolivas 8959cac620 Set to read only various constants in ckpool.c 10 years ago