Add POSIX type sig_atomic_t
This commit is contained in:
parent
6bc952a2cc
commit
7021b143ce
1 changed files with 6 additions and 0 deletions
|
@ -194,6 +194,12 @@
|
||||||
typedef uint32_t sigset_t; /* Bit set of 32 signals */
|
typedef uint32_t sigset_t; /* Bit set of 32 signals */
|
||||||
#define __SIGSET_T_DEFINED 1
|
#define __SIGSET_T_DEFINED 1
|
||||||
|
|
||||||
|
/* Possibly volatile-qualified integer type of an object that can be accessed
|
||||||
|
* as an atomic entity, even in the presence of asynchronous interrupts.
|
||||||
|
*/
|
||||||
|
|
||||||
|
typedef volatile int sig_atomic_t;
|
||||||
|
|
||||||
/* This defines the type of the siginfo si_value field */
|
/* This defines the type of the siginfo si_value field */
|
||||||
|
|
||||||
union sigval
|
union sigval
|
||||||
|
|
Loading…
Reference in a new issue