https://bugs.winehq.org/show_bug.cgi?id=30557
--- Comment #111 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Andrew Eikum from comment #110)
Unless glib gives us the custom threading API back, I'm afraid overriding pthreads is our only option.
Sebastian on IRC suggested a command-stream approach, where callback requests are queued from pthreads threads and handled by Wine threads.