magreenblatt wrote:Can you attach a debugger and break when CefInitialize is hanging, to see where it got stuck?
The reason for this is that in order to receive callbacks from non-main threads, Dolphin's message loop needs to be running, and it blocks while waiting for CefInitialize to return.
magreenblatt wrote:The reason for this is that in order to receive callbacks from non-main threads, Dolphin's message loop needs to be running, and it blocks while waiting for CefInitialize to return.
I don't know anything about Dolphin specifically, but it seems strange that Dolphin's message loop would be required for threads initialized/started by CEF or Chromium. Or do you mean callbacks in Smalltalk code and not C/C++ code?
The think the reason for this weird behavior is that Dolphin's VM is not actually multi-threaded, which might explain a lot of the problems I've been having.
the advice of the Dolphin developer was to create a higher level abstraction in C/C++ for Smalltalk to use instead. But I don't have a very good idea of what that would look like.
Users browsing this forum: No registered users and 190 guests