vxx / vlib / x / executor / examples / README.md
45 lines · 35 sloc · 1.65 KB · e80386b6af8a071a2e13fd654ebcdb2105fb9202
Raw

x.executor examples

This folder contains short public examples for the current x.executor API. Each file focuses on one owner-loop idea and uses only local synthetic work.

Examples are documentation-first programs. They are executed by the validation script to avoid bit rot, but the regression guarantees live in the module tests.

Rules

Examples

Run

From the repository root:

./v run vlib/x/executor/examples/basic_post.v
./v run vlib/x/executor/examples/bounded_admission.v
./v run vlib/x/executor/examples/owner_loop_pump.v
./v run vlib/x/executor/examples/run_sync.v
./v run vlib/x/executor/examples/shutdown.v
./v run vlib/x/executor/examples/synthetic_render_upload.v
./v run vlib/x/executor/examples/synthetic_ffi_owner_state.v

Use tools/validate.sh for the guarded module validation path. It isolates V temporary/cache directories and keeps validation runners serialized.