mattn/go-v8 — pull request #5 by jasondelponte (2013-01-01 00:30:33+00:00)
Title: Added support to allow v8 contexts to be created/used across multiple goroutines

Introduces v8:Locker when making calls into the v8 library from the wrapper. Specifically, this is required for any cross thread/goroutine access of v8 regardless of context. The lockers effectively serialize v8 eval calls to the v8 processor. V8 does have the ability to create completely independent contexts using V8:Isolates, and might be interesting to expose that functionality in the future.

* Added the lockers to context constructor, execute method, and callback.