[whatwg] WebWorkers and images

Mike Wilson mikewse at hotmail.com
Fri Jan 14 04:59:07 PST 2011


Boris Zbarsky wrote:
> It would be interesting to have an API that allows passing
> an imagedata object (not a copy) to a worker.  Such an API 
> would have to make the data disappear on the caller's side.
> That could be implemented reasonably efficiently using 
> shared memory (either directly with threads or using shared 
> memory segments with processes).

FWIW, there's some interesting discussion on handing over 
data in message passing in this Google TechTalk:
http://www.youtube.com/watch?v=37NaHRE0Sqw
although this is about a Java framework.
(some data structure pictures at 27:57 and forward)

Best regards
Mike Wilson




More information about the whatwg mailing list