You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement multi threaded message loop on Windows to improve performance. Create example. #133
UPDATE: It was tested and it is already possible to use multithreaded message loop on Windows. To do so set ApplicationSettings."multi_threaded_message_loop" to True and run a native message loop in your app. Don't call CEF's message loop. Create browser using PostTask(TID_UI, CreateBrowserSync, ...).
Keeping this issue still Open, as it would be nice to have this be shown in one of examples, possibly hello_world.py.
See ApplicationSettings."multi_threaded_message_loop". Multi threaded message loop may help improve performance in some applications. For best performance it is recommended that multi threaded message loop is used instead of external message pump on Windows platform (Issue #246).
It may be useful to implement CefBrowser::CreateBrowser to create browser asynchronously. CreateBrowserSync must be called on the UI thread and when running multi threaded message loop the main thread is no more the UI thread. So it is required to call CreateBrowserSync using PostTask(TID_UI).
changed the title [-]Example of using multi threaded CEF message loop[/-][+]Example of using multi threaded CEF message loop on Windows[/+]on Feb 11, 2016
changed the title [-]Example of using multi threaded CEF message loop on Windows[/-][+]Implement multi threaded message loop on Windows to improve performance[/+]on Sep 25, 2016
changed the title [-]Implement multi threaded message loop on Windows to improve performance[/-][+]Implement multi threaded message loop on Windows to improve performance. Create example.[/+]on Dec 4, 2016
There is now an official pywin32.py example that uses multi threaded message loop when "--multi-threaded" arg is passed (changedsto thos example will be commited in a few moments).
Activity
[-]Example of using multi threaded CEF message loop[/-][+]Example of using multi threaded CEF message loop on Windows[/+][-]Example of using multi threaded CEF message loop on Windows[/-][+]Implement multi threaded message loop on Windows to improve performance[/+][-]Implement multi threaded message loop on Windows to improve performance[/-][+]Implement multi threaded message loop on Windows to improve performance. Create example.[/+]cztomczak commentedon Jan 7, 2018
There is now an official pywin32.py example that uses multi threaded message loop when "--multi-threaded" arg is passed (changedsto thos example will be commited in a few moments).