debug: trying to figure out why sub req is not beeing spamed
This commit is contained in:
@@ -30,6 +30,7 @@ void signalHandler( int signum ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[]){
|
int main(int argc, char *argv[]){
|
||||||
|
std::cout << "hw_xapp_main Running"
|
||||||
|
|
||||||
// Get the thread id
|
// Get the thread id
|
||||||
std::thread::id my_id = std::this_thread::get_id();
|
std::thread::id my_id = std::this_thread::get_id();
|
||||||
@@ -71,7 +72,9 @@ int main(int argc, char *argv[]){
|
|||||||
|
|
||||||
sleep(1);
|
sleep(1);
|
||||||
//Startup E2 subscription and A1 policy
|
//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.
|
//start listener threads and register message handlers.
|
||||||
int num_threads = std::stoi(config[XappSettings::SettingName::THREADS]);
|
int num_threads = std::stoi(config[XappSettings::SettingName::THREADS]);
|
||||||
|
Reference in New Issue
Block a user