In the services class svc_bi_rados.cc functions like read_stats do these functions run in parellel.

Im setting a break point at this read_stats function then run my req, my req gets finished and I got a successful res, but after 2 or 3 sec my gdb hits the break point, Is the thread running in detached state from main program.

Is there any work around if I want to check whether the function is being called after finishing the req or during its execution?