CefURLRequest in IO thread blocked by UI 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.

Re: CefURLRequest in IO thread blocked by UI thread

Postby magreenblatt » Tue Sep 01, 2015 2:57 am

You should not block the UI thread waiting for the URL request to complete. That is the problem. There are threading considerations in the initialization of request-related objects which require the current design pattern.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CefURLRequest in IO thread blocked by UI thread

Postby Mayhew » Tue Sep 01, 2015 10:57 am

Okay, I understand. I'll rework our usage to be non-blocking. Thanks for the feedback.
Mayhew
Expert
 
Posts: 303
Joined: Mon Apr 18, 2011 8:02 pm

Re: CefURLRequest in IO thread blocked by UI thread

Postby ssthakur » Mon Dec 23, 2019 12:26 am

I am also facing the same issue on Mac with Cef branch 3497. My main thread which is also the UI thread is waiting for completion of CefURLRequest in browser process.
My requirement is such that i have to wait on UI thread. is there any mechanism to handle this situation.
ssthakur
Techie
 
Posts: 17
Joined: Mon Oct 09, 2017 11:11 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 94 guests

cron