Idlework
This commit is contained in:
@@ -11,6 +11,9 @@ namespace hk {
|
|||||||
|
|
||||||
class Mind
|
class Mind
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
|
void execute(void);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
std::thread directorThread;
|
std::thread directorThread;
|
||||||
std::thread simulatorThread;
|
std::thread simulatorThread;
|
||||||
|
|||||||
@@ -1,8 +1,22 @@
|
|||||||
|
#include <iostream>
|
||||||
|
#include <exception>
|
||||||
#include <mind.h>
|
#include <mind.h>
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
hk::Mind mind;
|
hk::Mind mind;
|
||||||
|
|
||||||
|
try {
|
||||||
|
std::cout <<PACKAGE_NAME <<" " <<PACKAGE_VERSION <<std::endl;
|
||||||
|
}
|
||||||
|
catch (const std::exception& e) {
|
||||||
|
std::cerr << "Exception occurred: " <<e.what() <<std::endl;
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
}
|
||||||
|
catch (...) {
|
||||||
|
std::cerr << "Unknown exception occurred" <<std::endl;
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user