You can also browse this source code online and clone the wasmtime repository to run the example locally:
This example demonstrates using Wasmtime in multithreaded runtimes.
{{#include ../examples/threads.wat}}{{#include ../examples/threads.rs}}{{#include ../examples/threads.c}}{{#include ../examples/threads.cc}}