picotm  0.2.0
error_tx Struct Reference

#include <error_tx.h>

Detailed Description

The data structure |struct error_tx| represents a transaction on the state of the thread's errno variable.

A transaction provides error handling for its operations (sans special exceptions). Therefore, the value stored in 'errno' should not change during as transaction. C functions that potentially modify the state of errno shall save the pre-transaction state in |struct error_tx| using the public interface.


The documentation for this struct was generated from the following file: