Use hwloc for set thread affinity.
This commit is contained in:
@@ -26,12 +26,15 @@
|
||||
#define XMRIG_PLATFORM_H
|
||||
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
#include "base/tools/String.h"
|
||||
|
||||
|
||||
namespace xmrig {
|
||||
|
||||
|
||||
class Platform
|
||||
{
|
||||
public:
|
||||
@@ -56,8 +59,11 @@ public:
|
||||
private:
|
||||
static char *createUserAgent();
|
||||
|
||||
static xmrig::String m_userAgent;
|
||||
static String m_userAgent;
|
||||
};
|
||||
|
||||
|
||||
} // namespace xmrig
|
||||
|
||||
|
||||
#endif /* XMRIG_PLATFORM_H */
|
||||
|
||||
Reference in New Issue
Block a user