ZM is a C library to handle continuations (coroutine, exception, green thread) with finite state machines.
The library is written in C99 without external dependecy or machine-specific code and can be compiled in ansi-c or ansi-c++ with the minal effort to define two unsigned int type
(uint8_t and uint32_t).
Features
- task: instance green thread or coroutine
- subtask: task can instance subtask as thread can use function
- error-exception: exception can be raised and catched between subtasks (stack unwinding)
- continue-exception: allow to resume the execution in raise point (no stack unwinding)
- virtual event: lock in waiting event mode one or more task
- deterministic: library use only finite state machine as control flow
- portable: no architecture specific assembly code
- no-setjmp: library don't use any non-local-jumps functions (setjump, ucontext...)
- self-contained: no external or OS specific libraries are required
Categories
LibrariesLicense
BSD LicenseFollow ZM
Other Useful Business Software
AI-generated apps that pass security review
Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ZM!