Benchmark refactoring, zero delay submit and unified HTTP layer.

This commit is contained in:
XMRig
2020-11-16 16:22:34 +07:00
parent 5b46e4870d
commit bdbc470910
21 changed files with 558 additions and 380 deletions

View File

@@ -25,6 +25,9 @@
#include "base/tools/Object.h"
#include <functional>
namespace xmrig {
@@ -37,6 +40,9 @@ class Async
public:
XMRIG_DISABLE_COPY_MOVE_DEFAULT(Async)
using Callback = std::function<void()>;
Async(Callback callback);
Async(IAsyncListener *listener);
~Async();