Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1968)

Unified Diff: runtime/include/dart_api.h

Issue 9242035: Give isolates names to be used during debugging. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/lib/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_api.h
===================================================================
--- runtime/include/dart_api.h (revision 3366)
+++ runtime/include/dart_api.h (working copy)
@@ -245,7 +245,9 @@
* In the case of errors the caller is responsible for freeing the buffer
* returned in error containing an error string.
*/
-typedef bool (*Dart_IsolateCreateCallback)(void* callback_data, char** error);
+typedef bool (*Dart_IsolateCreateCallback)(const char* name_prefix,
Ivan Posva 2012/01/20 16:28:29 name_prefix and callback_data are not documented a
+ void* callback_data,
+ char** error);
/**
* An isolate interrupt callback function.
@@ -323,7 +325,8 @@
* \return The new isolate is returned. May be NULL if an error
* occurs duing isolate initialization.
*/
-DART_EXPORT Dart_Isolate Dart_CreateIsolate(const uint8_t* snapshot,
+DART_EXPORT Dart_Isolate Dart_CreateIsolate(const char* name_prefix,
Ivan Posva 2012/01/20 16:28:29 name_prefix and callback_data are not documented.
+ const uint8_t* snapshot,
void* callback_data,
char** error);
// TODO(turnidge): Document behavior when there is already a current
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/lib/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698