Could CefMessageLoop be run in another thread?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Could CefMessageLoop be run in another thread?

Postby Arion » Mon Sep 03, 2018 5:06 am

I run the osr cef with SDL to control window.
I want to make the CefMessageLoop run in another thread. But when I start it in another thread, the cef render is stopped.

If I want to run it in another thread, what should I do?
Arion
Newbie
 
Posts: 6
Joined: Fri Apr 13, 2018 2:48 am

Re: Could CefMessageLoop be run in another thread?

Postby Czarek » Tue Sep 04, 2018 4:03 pm

Only CefDoMessageLoopWork allows for integrating into existing message loops and it must be called on main application thread.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 42 guests