Comment #1 on issue 542 by sgbeal: Comments in v8.h misleadingly indicate
that use of V8::Locker is optional
http://code.google.com/p/v8/issues/detail?id=542
It's also not optional if the application or library dynamically loads other
libraries/plugins which themselves use Unlocker somewhere in the
bound-native
functionality. When using such plugins, they'll crash at Unlock time if the
loading
application has not set up a Locker.
e.g. i have a plugin which wraps sqlite3. During the queries i unlock v8
b/c the
queries are relatively slow. i also have a plugin which wraps sleep(3) and
Unlocks
before the sleep(). Other than UNlocking, my plugins don't use locking, but
my apps
are required to add a locker so that any subsequent UNlocking works without
assert()ing.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
To unsubscribe from this group, send email to v8-dev+unsubscribegooglegroups.com or reply
to this email with the words "REMOVE ME" as the subject.