https://codereview.chromium.org/78453003/diff/1/include/v8-platform.h
File include/v8-platform.h (right):
https://codereview.chromium.org/78453003/diff/1/include/v8-platform.h#newcode42
include/v8-platform.h:42: virtual void Run() = 0;
I think that at some point we need something like C++'s packaged_task /
future / promise. How will it fit into this?
https://codereview.chromium.org/78453003/diff/1/include/v8-platform.h#newcode60
include/v8-platform.h:60: virtual void CallOnBackgroundThread(Task*
task, bool task_is_slow) = 0;
Hmmm, why do we need task_is_slow? And what exactly should it mean to be
"slow"? This seems to have very subjective semantics (= no semantics at
all ;-), so I would like to avoid such wishy-washy concepts in an API.
https://codereview.chromium.org/78453003/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.