debug: trying to figure out why sub req is not beeing spamed

This commit is contained in:
Erik Foris 2024-03-22 15:09:33 +01:00
parent 290e030071
commit a34e83b524

View File

@ -30,6 +30,7 @@ void signalHandler( int signum ) {
}
int main(int argc, char *argv[]){
std::cout << "hw_xapp_main Running"
// Get the thread id
std::thread::id my_id = std::this_thread::get_id();
@ -71,7 +72,9 @@ int main(int argc, char *argv[]){
sleep(1);
//Startup E2 subscription and A1 policy
//hw_xapp->startup(std::ref(*sub_handler));
std::cout << "Startup E2 subscription and A1 policy"
hw_xapp->startup(std::ref(*sub_handler));
//start listener threads and register message handlers.
int num_threads = std::stoi(config[XappSettings::SettingName::THREADS]);