1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-07-02 15:02:43 -04:00

Compare commits

...

4 Commits

Author SHA1 Message Date
Tony Butler 72452c41a7 Merge 3a46a28af0 into 5eaa6c152e 2024-06-03 13:43:34 -06:00
Tony Butler 3a46a28af0 Call uv_loop_fork to redecorate the default loop after fork() 2024-06-03 13:43:29 -06:00
XMRig 5eaa6c152e v6.21.4-dev 2024-04-23 16:51:58 +07:00
XMRig 6972f727c1 Merge branch 'master' into dev 2024-04-23 16:50:58 +07:00
3 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -61,13 +61,13 @@ int xmrig::App::exec()
return 2;
}
m_signals = std::make_shared<Signals>(this);
int rc = 0;
if (background(rc)) {
return rc;
}
m_signals = std::make_shared<Signals>(this);
rc = m_controller->init();
if (rc != 0) {
return rc;
+3
View File
@@ -27,6 +27,7 @@
#include <csignal>
#include <cerrno>
#include <unistd.h>
#include <uv.h>
#include "App.h"
@@ -53,6 +54,8 @@ bool xmrig::App::background(int &rc)
return true;
}
uv_loop_fork(uv_default_loop());
i = setsid();
if (i < 0) {
+2 -2
View File
@@ -22,7 +22,7 @@
#define APP_ID "xmrig"
#define APP_NAME "XMRig"
#define APP_DESC "XMRig miner"
#define APP_VERSION "6.21.3"
#define APP_VERSION "6.21.4-dev"
#define APP_DOMAIN "xmrig.com"
#define APP_SITE "www.xmrig.com"
#define APP_COPYRIGHT "Copyright (C) 2016-2024 xmrig.com"
@@ -30,7 +30,7 @@
#define APP_VER_MAJOR 6
#define APP_VER_MINOR 21
#define APP_VER_PATCH 3
#define APP_VER_PATCH 4
#ifdef _MSC_VER
# if (_MSC_VER >= 1930)