Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DKCefV8 only works in Cef --single-process mode #107

Open
aquawicket opened this issue Apr 29, 2017 · 0 comments
Open

DKCefV8 only works in Cef --single-process mode #107

aquawicket opened this issue Apr 29, 2017 · 0 comments
Labels

Comments

@aquawicket
Copy link
Owner

Binding V8 javascript to C++ functions in Cef works in single process mode.
When in multi-process, all V8 handler code runs in the render process, separate from the main thread.

Note: some scratch code has been done to use Cef Inter Process Communication (IPC), and we can all c++ functions from javascript, though, we cannot halt the render thread to wait for a response variable.

The issue comes down to synchronous communication with C++. In order to get a return value, the render thread must wait for a response. The documented suggested alternative is to use Asynchronous, but this would all no return values with javascript functions. Return values is what we would like to achieve.
Async later ;)

@aquawicket aquawicket added the bug label Apr 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant