v8::Platform::PostJob and v8::platform::NewDefaultJobHandle

39 views
Skip to first unread message

ClearScript Developers

unread,
Sep 23, 2020, 10:37:35 AM9/23/20
to v8-users
Greetings!

We're updating our embedder for V8 8.6, and apparently our v8::Platform implementation now has to implement the new method PostJob. The comments in the header file suggest delegating the implementation to v8::platform::NewDefaultJobHandle.

Our question: Is NewDefaultJobHandle safe to use with a custom v8::Platform implementation? Most of the libplatform.h APIs work only with the default platform implementation according to the comments.

Thanks!

Clemens Backes

unread,
Sep 23, 2020, 10:44:52 AM9/23/20
to v8-u...@googlegroups.com
That is supposed to work, yes. All the DefaultJobHandle does is posting tasks to the platform.

--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/ea14888f-3266-4f5e-be05-59ed1f8e69aan%40googlegroups.com.


--

Clemens Backes

Software Engineer

clem...@google.com

Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.


This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.

ClearScript Developers

unread,
Sep 23, 2020, 11:53:41 AM9/23/20
to v8-users
Great! Thanks, Clemens!
Reply all
Reply to author
Forward
0 new messages