|
exceptions4c-pthreads 0.1
Multithreading exception handling for C
|
Thread-safe extension for exceptions4c. More...
#include <exceptions4c.h>Macros | |
| #define | EXCEPTIONS4C_PTHREADS 0 |
| Returns the major version number of this library. | |
Functions | |
| struct e4c_context * | e4c_pthreads_context_supplier (void) |
| Supplies a thread-safe exception context. | |
Thread-safe extension for exceptions4c.
This library allows you to safely and concurrently use exceptions4c on multithreaded programs that are based on POSIX threads.
This library consists of two files:
To use it in your project, include the header file in your source code files.
And then link your program against the library code.
| #define EXCEPTIONS4C_PTHREADS 0 |
Returns the major version number of this library.
| struct e4c_context * e4c_pthreads_context_supplier | ( | void | ) |
Supplies a thread-safe exception context.
e4c_set_context_supplier so each thread will get its own exception context.