The main purpose of this library is to provide uniform interface for seamless handling of signals and exceptions.
This project is focused on simplicity and flexibility - it does not even try to mimic C++ exceptions system - instead, it offers only few simple functions and macros which can be easily combined with custom user code to tune the functionality for particular use cases.
Features
- separate, mprotect()-ed, per-thread stacks for signal handlers.
- separate, mprotect()-ed, per-thread stacks for exceptions data.
- no dynamic heap allocations (excluding initialization).
- nested exceptions (including CATCH section).
- support for separate signal handlers per each exception' nesting level.
- support for POSIX real-time signals.
- automatic thread crash detection.
- restartable TRY section.
- exceptions stack backtracing.
- manpage included.
- tests included.
License
GNU Library or Lesser General Public License version 3.0 (LGPLv3)Follow libcxc
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 libcxc!