stephb9959
2022-06-29 17:05:43 -07:00
parent 9181ae01cc
commit a26f7c03c1
2 changed files with 13 additions and 14 deletions

View File

@@ -89,7 +89,7 @@ namespace OpenWifi {
int reason=0;
while(running_) {
std::cout << __LINE__ << std::endl;
// std::cout << __LINE__ << std::endl;
/* if(!ProcessCommands()) {
reason=1;
running_=false;

View File

@@ -47,8 +47,7 @@ namespace OpenWifi {
void AddCommand(u_char C);
private:
std::atomic_bool running_=false;
volatile std::atomic_bool loop_done_=false;
mutable std::atomic_bool running_=false;
std::string device_address_;
std::recursive_mutex M_;
std::string id_;