Wasmtime
|
Global compilation state in Wasmtime. More...
#include <engine.hh>
Public Member Functions | |
Engine () | |
Creates an engine with default compilation settings. | |
Engine (Config config) | |
Creates an engine with the specified compilation settings. | |
Engine (const Engine &other) | |
Copies another engine into this one. | |
Engine & | operator= (const Engine &other) |
Copies another engine into this one. | |
Engine (Engine &&other)=default | |
Moves resources from another engine into this one. | |
Engine & | operator= (Engine &&other)=default |
Moves resources from another engine into this one. | |
void | increment_epoch () const |
Increments the current epoch which may result in interrupting currently executing WebAssembly in connected stores if the epoch is now beyond the configured threshold. | |
void | is_pulley () const |
Returns whether this engine is using Pulley for execution. | |
Friends | |
class | Store |
class | Module |
class | Linker |
Global compilation state in Wasmtime.
Created with either default configuration or with a specified instance of configuration, an Engine
is used as an umbrella "session" for all other operations in Wasmtime.