What is the sig_atomic_t equivalent in Python?

前端 未结 0 1070
天涯浪人
天涯浪人 2021-02-13 07:52

I would like to rewrite this very simple C++ code using Python. Thanks to sig_atomic_t, it is guaranteed no data race will occur even when ::signal_handler()<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题