How to run the custom library at the same time as the program? [closed]

  android, android-ndk, c++, shared-objects

I need the program to continue running along with the code, but I couldn’t, the program insists on waiting for the code to finish and then start running again.

What should I do so the program doesn’t wait for the code to finish?

Source: Windows Questions C++