[pg basics] sig_atomic_t
How does sig_atomic_t actually work?
Key Takeways:
sig_atomic_tis not an atomic data type- used in the context of a signal handler
- An integral type that can be modified atomically, without the
possibility of a signal arriving in the middle of the operation.
posted on 2024-08-13 10:45 winter-loo 阅读(26) 评论(0) 收藏 举报
浙公网安备 33010602011771号