Offload functions to worker threads with shared memory primitives for Node.js.

feat: add shared-state example using structs and mutex master

Demonstrates multiple workers updating a shared struct position protected by a mutex to prevent read-modify-write races. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>


+45
2 changed files