Comments (2)
@kamylee I think your wasm app keeps waiting for message, right? Can you make it run into a loop inside another native api (e.g. Native_WaitMsg)? And NativeWaitMsg maintains a msg buffer or a msg queue to let the server thread fill in the buffer (or send msg to that queue), and in the loop, keep checking the buffer or queue, and then call wasm OnRecv method if a msg comes.
from wasm-micro-runtime.
thanks! i'll try it now!
from wasm-micro-runtime.
Related Issues (20)
- Heap Buffer Overflow inside "wasm_loader_prepare_bytecode" Function HOT 3
- Allocated memory not cleared (only on zephyr?) HOT 5
- Issue with running Pico on wamr through Zephyr HOT 1
- OSS-Fuzz issue 69574 HOT 2
- OSS-Fuzz issue 69576 HOT 2
- OSS-Fuzz issue 69577 HOT 3
- OSS-Fuzz issue 69579 HOT 2
- OSS-Fuzz issue 69598 HOT 2
- OSS-Fuzz issue 69608 HOT 2
- Fail allocate but print success? HOT 2
- File allocation bug? HOT 2
- fd_datasync failure. HOT 2
- Set right difference? HOT 1
- Wasm shared heap HOT 3
- Enabling GC and AOT in multi-module sample causes IOT Instruction crash
- [RFC] Assign part of wasm address space to a shared heap to share memory among wasm modules with zero-copying HOT 11
- [RFC] New option to do software bounds check by runtime API instead of inline it in IR in AOT/JIT mode HOT 2
- What's the difference between bound check of fast interpreter mode and bound check of classic interpreter mode HOT 1
- [wasi-nn] Got unexpected results when running tflite_birds_v1_image example HOT 2
- Stack-buffer-overflow in wasm-micro-runtime/core/iwasm/interpreter/wasm_interp_classic.c HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasm-micro-runtime.