Fixed debug_pause semaphore name (#1793)

This commit is contained in:
Mrockwell2
2024-10-15 10:50:33 -05:00
committed by GitHub
parent 5a5379b975
commit b2403dcfc6

View File

@ -68,7 +68,7 @@ int Trick::DebugPause::debug_pause_on() {
debug_pause_flag = true ;
sem_name_stream << "itimersepmaphore_" << getpid() ;
sem_name_stream << "debugstepmaphore_" << getpid() ;
sem_name = sem_name_stream.str() ;
debug_sem = sem_open(sem_name.c_str(), O_CREAT, S_IRWXU , 0);