Added central control of threading.
This commit is contained in:
1 parent
ef3b39361a
commit
2769de6f7e
25 files changed
+259
-110
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#include "lib/os/os.h"
|
||||
#include "lib/utils/thread_manager.h"
|
||||
#include "lib/utils/init_spark_lib.h"
|
||||
#include "server/sparkd/cmds/CmdRegistry.h"
|
||||
|
||||
@@ -20,8 +20,9 @@
|
||||
int main(int argc, char **argv) {
|
||||
using namespace bts;
|
||||
|
||||
os::set_thread_name("main");
|
||||
|
||||
utils::init_spark_lib();
|
||||
|
||||
BEGIN_CMD;
|
||||
REGISTER(Test);
|
||||
REGISTER(Help);
|
||||
|
||||
Reference in new issue
Block a user