Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caution

This is an archived repo, which was used to test abruption of wasm applications in wasm-micro-runtime. The better and improved solution is now part of ocre-runtime

embedding-wasm-simple

Tip

This solution works by using wasm_runtime_terminate function to terminate abruptly threads which use different resources, like sockets.

Simple application using wasm-micro-runtime via threads and killing those abruptly.

Build and execute steps (run the last command without -r just to build)

cd sample_app
./build.sh
cd ..
./build.sh -r

Expected output:

**********************************************
Server is starting...
Server listening on port 8000

**********************************************
Server is starting...
Server listening on port 8000

About

Simple application using wasm-micro-runtime via threads and killing those abruptly.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages