Skip to content

Commit

Permalink
Support spawning isolates in single-threaded mode, by merging with mu…
Browse files Browse the repository at this point in the history
…lti-threaded entry point code.
  • Loading branch information
peter-hofer committed Mar 25, 2018
1 parent 2fc3e98 commit eaa1307
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 287 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@
public final class CEntryPointContext {

/**
* @return the current isolate.
* @return the current isolate. Can be {@code null} in single-threaded images.
*/
public static native Isolate getCurrentIsolate();

/**
* @return context of the current thread in the current isolate.
* @return context of the current thread in the current isolate. Can be {@code null} in
* single-threaded images.
*/
public static native IsolateThread getCurrentIsolateThread();

Expand Down
Loading

0 comments on commit eaa1307

Please sign in to comment.