Run internal http server in main loop to avoid requirement to thread synchronization.
This commit is contained in:
parent
71759e3752
commit
a0d4e4ed3f
4 changed files with 33 additions and 17 deletions
|
@ -4,7 +4,7 @@
|
|||
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
|
||||
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
||||
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
||||
* Copyright 2016-2017 XMRig <support@xmrig.com>
|
||||
* Copyright 2016-2018 XMRig <support@xmrig.com>
|
||||
*
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
|
@ -45,7 +45,6 @@ public:
|
|||
|
||||
private:
|
||||
static ApiState *m_state;
|
||||
static uv_mutex_t m_mutex;
|
||||
};
|
||||
|
||||
#endif /* __API_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue