mirror of
https://github.com/monero-project/monero.git
synced 2025-08-05 09:54:20 -04:00
Preliminary support for DragonFly BSD
- It builds but no further testing has been done.
This commit is contained in:
parent
b97a2f72db
commit
b00da61eab
8 changed files with 23 additions and 14 deletions
|
@ -40,7 +40,7 @@
|
|||
|
||||
void set_process_affinity(int core)
|
||||
{
|
||||
#if defined (__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#if defined (__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||
return;
|
||||
#elif defined(BOOST_WINDOWS)
|
||||
DWORD_PTR mask = 1;
|
||||
|
@ -62,7 +62,7 @@ void set_process_affinity(int core)
|
|||
|
||||
void set_thread_high_priority()
|
||||
{
|
||||
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||
return;
|
||||
#elif defined(BOOST_WINDOWS)
|
||||
::SetPriorityClass(::GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue