The Combined Corner

Google Gears : WorkerPool

Posted in Google Gears by Peter Andreas Molgaard on July 27, 2008

The WorkerPool behaves like a collection of processes, rather than threads. Workers do not share any execution state. Changing a variable in one worker has no effect in any other worker. And created workers do not automatically inherit script code from their parents.

Members of a WorkerPool interact with each other only by sending message objects.

http://code.google.com/apis/gears/api_workerpool.html#workerpool_class

Leave a Reply