I must rewrite all the calls?
You can take the event loop, run it on one thread and do whatever you wish on other threads.
Fearless concurrency, after all.