diff options
author | Bert Belder <bertbelder@gmail.com> | 2018-10-07 23:48:06 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2018-10-08 18:19:32 +0200 |
commit | e742af10aa67dc90a68fcb60b8e70733fd753e68 (patch) | |
tree | bc9d7360c5a8cb94e93f9dabf5749b94addc0c18 /js/make_temp_dir_test.ts | |
parent | d86e5d2605c68606c8073d1b563d3389ea93c112 (diff) |
Abide by the rules when passing Isolate between c and rust
Ensure that at most one mutable Isolate reference exists at a time.
`deno_execute()` and `deno_respond()` now borrow a reference to the rust-side
isolate from the caller. When we need a reference to the isolate while one of
these functions is on the stack, `deno_get_data()` can be used to borrow back
that reference.
Diffstat (limited to 'js/make_temp_dir_test.ts')
0 files changed, 0 insertions, 0 deletions