Rendering engine freeze when using custom stream handler

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.

Rendering engine freeze when using custom stream handler

Postby joeccl » Thu Jan 03, 2013 11:38 am

In our recent implementation, we made a custom stream handler which create a new thread to provide data when a custom URL is loaded from HTML. The purpose is to display a bunch of thumbnails in HTML like a photo album. However, we found that the whole rendering engine freeze and wait for I/O instead of running as multithread as usual when we load from ordinary URL, even when just 3 thumbnail sized photos are loads.

Would like to see if anyone has the same experience or comment related to this problem? Thanks.
joeccl
Newbie
 
Posts: 1
Joined: Thu Jan 03, 2013 11:27 am

Re: Rendering engine freeze when using custom stream handler

Postby fddima » Thu Jan 03, 2013 1:44 pm

Do you answer in resource handler in async way?
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: Rendering engine freeze when using custom stream handler

Postby Quiark » Fri Jan 04, 2013 11:21 pm

Hi, I'm working with joe. Thanks for the direction, implementing the async interface seems to have fixed the problem.
Quiark
Newbie
 
Posts: 8
Joined: Mon Nov 05, 2012 11:41 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 199 guests