namespace fix
This commit is contained in:
parent
da61cdaca8
commit
b38866b55e
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ module Crafter.Thread:ThreadPool_impl;
|
||||||
import std;
|
import std;
|
||||||
import :ThreadPool;
|
import :ThreadPool;
|
||||||
|
|
||||||
using namespace Crafter::Thread;
|
using namespace Crafter;
|
||||||
|
|
||||||
|
|
||||||
void ThreadPool::Start(int maxThreads)
|
void ThreadPool::Start(int maxThreads)
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
export module Crafter.Thread:ThreadPool;
|
export module Crafter.Thread:ThreadPool;
|
||||||
import std;
|
import std;
|
||||||
|
|
||||||
namespace Thread {
|
namespace Crafter {
|
||||||
struct ThreadStorage {
|
struct ThreadStorage {
|
||||||
std::vector<std::function<void(void)>> tasks;
|
std::vector<std::function<void(void)>> tasks;
|
||||||
std::vector<std::function<void(void)>> buffer;
|
std::vector<std::function<void(void)>> buffer;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue