How to switch from C or C++ language to System Verilog

Through DPI, SV TB interacting with C language program.TB calls the C method, during C method execution instantly need to jump to TB, before completing the C method execution,what is the process to Jump from C Method to SV TB for this scenario??