On Fri, May 13, 2011 at 12:01 AM, Louis Santillan <[email protected]>wrote:

> You can find an implementation & discussion of the browser's setTimeout
> here:
> http://code.google.com/p/v8-juice/wiki/ThreadingInJS
> http://code.google.com/p/v8-juice/wiki/BindableFunctions
>
> http://code.google.com/p/v8-juice/source/browse/branches/edge/src/client/shell/js/MockTimer.js
>
>
Thanks for the plug :).

The related code is actually independent of the v8-juice library (despite
being in the same namespace) and can easily be dropped in to arbitrary v8
clients (but you may need to re-set a #define or two in the cc file):

http://code.google.com/p/v8-juice/source/browse/trunk/src/lib/juice/time.cc
http://code.google.com/p/v8-juice/source/browse/trunk/src/include/v8/juice/time.h

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to