Note that epoch-interrupts are safe against malicious guests (#4343)
* Note that epoch-interrupts are safe against malicious guests * Remove implementation details from epoch deadline docs
This commit is contained in:
@@ -425,6 +425,10 @@ impl Config {
|
|||||||
/// signal handler), then we can ensure that all async code will
|
/// signal handler), then we can ensure that all async code will
|
||||||
/// yield to the executor within a bounded time.
|
/// yield to the executor within a bounded time.
|
||||||
///
|
///
|
||||||
|
/// The deadline check cannot be avoided by malicious wasm code. It is safe
|
||||||
|
/// to use epoch deadlines to limit the execution time of untrusted
|
||||||
|
/// code.
|
||||||
|
///
|
||||||
/// The [`Store`](crate::Store) tracks the deadline, and controls
|
/// The [`Store`](crate::Store) tracks the deadline, and controls
|
||||||
/// what happens when the deadline is reached during
|
/// what happens when the deadline is reached during
|
||||||
/// execution. Several behaviors are possible:
|
/// execution. Several behaviors are possible:
|
||||||
|
|||||||
Reference in New Issue
Block a user