Move control back to haxe thread without registering

Is it possible to move control from a thread created by a C++ library, back to a Haxe thread, without registering the foreign thread with the GC using SetTopOfStack? Ideally I just want the smallest thing I can do, push to a sync queue, trigger EventLoop, something like this that would move control back so haxe code can run where it belongs.